function wp_dequeue_kirki_style()
{
wp_dequeue_style('kirki-styles');
}
add_action('wp_enqueue_scripts', 'wp_dequeue_kirki_style');
Please make sure that you have handler name kirki-styles
in the parent theme for the css file that you want to remove. Because wp_dequeue_style
function used handler as parameter. You can check documentaion of dequeue function here => https://developer.wordpress.org/reference/functions/wp_dequeue_style/
Related Posts:
- Why I can’t add a CSS style in this WordPress theme?
- Theme Loading Into Dashboard
- Font Awesome 5 Free – far working but fas is not? [closed]
- Having issue with WordPress wp_enqueue_style
- theme style is applied on the dhasboard rather than the website
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- How important is it to enqueue a theme’s stylesheet?
- Do I actually need to link my theme’s style.css in the theme files
- Enqueue a stylesheet for login page and make it appear in head element
- CSS classes for theme
- Are the WordPress Core CSS styles really all nessesary?
- How to make a theme with more than one CSS file?
- Editing the custom background CSS
- What can I hook into after_setup_theme?
- Adding inline styles from a widget
- CSS in child theme not overriding the parent theme [closed]
- Advantages of using instead of wp_enqueue_style()?
- How to add dynamic inline style?
- Enqueued Stylesheets Effecting Admin Styles
- How to highlight the current page in the nav menu?
- De-registering parent style sheet css recommended?
- Sub folder CSS that’s read by Admin panel
- Where is definied the theme location for the main menu in a WordPress template?
- enqueue_style is not working
- How can I let templates choose which stylesheets are enqueued?
- Stylesheet not linking
- How to edit my theme for full width?
- How to check if a WordPress core block is active in sidebar
- Which html elements should be styled in wordpress theme
- How remove render blocking css from wordpress when you build a theme?
- WordPress Unite Theme: Footer isn’t sticking [closed]
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- How do I use a color from theme options?
- Ideal inline dynamic CSS injection
- Theming Using Bootstrap Glyphicons and WordPress Dashicons
- Some questions about how proper add 2 CSS file in a WordPress theme?
- How can I wrap all blog posts image with
- LESS not working in WordPress [closed]
- A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Some doubts about WordPress handle the horizontal main menu visualization
- Can’t change theme name
- How to use the _S framework
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- Why nav_menu_css_class doesn’t work with apply_filters?
- How can I fix my theme header for my CSS stylesheet?
- How to generate a rtl.css file for themes?
- Why the slideshow is not shown in my theme?
- adding navigation to genesis themes
- Custom link color or stylesheets
- What is The Best Way to Make Parallax header effect for wordpress theme ?? pure CSS or using JavaScript? [closed]
- Solutions for generating dynamic javascript / CSS
- Is it possible to use line break in theme description?
- Grab the first paragraph of each post
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- How to Handle CSS for Multiple Header header.php Files?
- “Cheatin’ uh?” error message on multple theme directories
- Adding WordPress colorpicker in widget settings
- “Display Site Title and Tagline” checkbox not working?
- Add social icons in a theme through custom admin menu
- file_get_contents Not allowed in Themes?
- Is it necessary to prefix every css class in a theme framework?
- How do I remove twentyten without ruining what I did?
- Custom theme not visible in Appearance
- Can’t delete theme
- functions.php not hooking up with style.css
- How to add a second stylesheet to the editor
- Can I have two different theme for two different language?
- WP_Comment_Query – Get comments and answers separately
- excerpt() shows different result between remote and localhost(development environment)
- Prefix best practice, should we use framework name or theme name?
- Theme Javascript.php Overwritten Nightly [closed]
- Using page-id-{ID} from body_class() in local dev, versus live staging
- Custom image size vs CSS sizing
- Making a WordPress theme based on twentyten
- Are there any caveats to compiling all of my theme’s SCSS into the style.css file in the theme root?
- SVG in list-style-image breaks when adding fill
- WordPress theme resource won’t load over VPN
- Alignment Problem [closed]
- What $handle does WordPress use for a theme’s implicit style.css?
- Unwanted empty line at the beginning of document
- Why is my container argument not working for wp_nav_menu() [closed]
- help needed for suit designing tool
- How to update mark-up of a gallery block in a custom theme?
- Host Private Custom Theme
- My wordpress theme name isn’t updating straight away
- Customizer API Multi Sections in single Panel
- How can I change this SVG shape that’s generated?
- Adding a second logo next to the main one in header
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Creating a theme just to deploy a single page
- Load multiple css simultaneously using functions.php
- Different stylesheet for different pages not working fully
- Weird ‘theme update’ error [duplicate]
- WordPress two sidebar layout or theme
- Standard Way To Do Custom Work Within A Page?
- Alternating CSS classes for dynamic content [closed]
- Add Dynamic Sidebar to Exisiting WordPress Theme [closed]
- HTML to WORDPRESS [closed]