Your two options are to add your own stylesheet to redefine the plugin’s styles, or remove the plugin’s css file entirely by dequeueing the stylesheet (assuming the plugin has correctly added the stylesheet via the API)
function wpd_my_theme_css() {
// dequeue plugin css with same handle it is enqueued with
wp_dequeue_style( 'plugin_css_handle' );
}
// priority must by a higher number than the css is added on
add_action( 'wp_enqueue_scripts', 'wpd_my_theme_css', 9999 );
You’ll have to look at the specific plugin’s code for a definitive answer on what’s possible here.
Related Posts:
- to perform the requested action wordpress needs to access your web server. please enter your ftp
- How do I exclude plugins from getting automatically updated?
- How to check if a theme is active?
- how to get path to images in the uploads folder to be used in a plugin
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- How can I have two different urls for the same page that load two different templates?
- How to enable edit button in the theme’s customize UI?
- Ship plugin with a custom theme
- How to solve a conflict between a plugin and a theme?
- WP Config for FTP credentials
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- Which hook callback has priority if both plugin and theme use the same hook?
- Force wordpress to request for FTP Info on theme/plugin install/update
- Workflow and best practice for documentation [closed]
- Override the core function locate_template
- Can I share predefined fonts from theme_support with a gutenberg component?
- How can I measure the performance of any WordPress Plugin or Theme?
- add_action in functions.php, do_action in plugin?
- Installing WordPress only for a separate page – ‘mydomain.com/blog’
- Implement plugins as part of a theme
- ‘Customize’ button in admin bar for CSS
- Theme or Plugin: Where should I write my code?
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Do I still need a theme to use page builders?
- Uncode theme content block header ignoring saved changes/not updating?
- Theme and plugin install or update display error in localhost
- Can I make a super plugin that also has a theme?
- Prevent WordPress installing plugins and themes via Admin
- Plugin Handle URL With Custom Theme
- Check for security updates
- Plugin-generated pages use Not Found or Pages Archive templates?
- Create custom registration form for WordPress Multisite
- posts comments goes to trash
- Advanced Custom Field DatePicker [closed]
- All sites themes functions.php have been changed
- What will happen if i deactivate my visual composer plug in? [closed]
- Finding the URL to be used to check if plugin is installed with a theme
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Is there any hook for theme activation ? or something similar?
- “No Add Button” for me to customize my WordPress with themes and pluggins
- How can I list all installed plugins/themes/versions from CLI/API?
- Why does my file_exist check fail?
- How to protect WordPress from security scanner [closed]
- how can I query all wordpress users of a blog
- I receive taxonomy id
- Theme My Login Shortcode Doesn’t Return Anything
- Include Minit plugin in theme [closed]
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- Moving FB comments at the end of page
- How to include files relative to a file’s directory
- How Do I Uninstall a Current WordPress Theme and Install a Fresh Theme
- What is it and from where it is loaded?
- Inserting Plugins Into Blank Space of Externally Designed WordPress Theme
- Load CSS files in header of Bones theme?
- How to handle a WordPress blog with articles in different languages?
- display unique post per category
- How to display a widget on a page with no theme?
- navigation among single posts
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- WordPress Cache delete on plugin uninstall
- Unknown theme modal source
- How to override any plugin file in the child theme
- Replace old theme that understand old css (vcex_icon_box css_animation)
- WordPress website will not show menu on a Mobile Device
- Mobile Menu and Mobile Sidebar missing
- Ensure WordPress Theme Uninstalls Completely
- Ajax Call not Working in Plugin
- Changing the pointing of assets from old server to new server
- Image path in childs theme
- How to get a post views count using ‘WordPress popular posts’ plugin
- Securing langugae folder
- How to prevent redoing get_posts queries and make results available to other scripts?
- Is it possible to disable a theme programmatically?
- Google trying to index child theme files
- In the WordPress API is there a way to set the width of the post/page container
- how to add custom css at top above all css file for specific url
- How to Call Function From Separate WordPress Install on Same Server?
- Things that saved lose when logout
- Child Theme Changes Are Not Reflecting In Parent Theme
- Automatic updates of plugins and themes outside of wordpress.org
- Input gets deleted/overwritten after changing to different Admin Menu
- Run WP inside a other Site without using frames
- Breadcrumb is not generating the correct post page url
- Display static pages instead of category, in code
- Why does theme need woocommerce to show images / content on front page?
- Install theme as part of a plugin
- Divi Template A Few Questions
- Trying to use wp_register_script/style and enqueu them from an array – getting an error [duplicate]
- My Blog page ( posts page ) theme isn’t changing with the new theme [closed]
- Real estate schema markup not showing up on Rich Results test
- How to create an Info Box on WordPress [closed]
- How to make content as required in custom post type?
- Any plugin installation and update overwrite current theme
- Convert from Portfolio post to WooCommerce products [closed]
- Problem on a wordpress website with a plugin [closed]
- What’s the best way to update my WordPress theme to Elementor?
- Local WP site can’t locate plugins or theme
- Add new Plugin or Delete option Not Showing and Also Theme delete option not showing
- Error 503 Service Unavailable and wp-json/tdw/save_css