I want to pull the css styles into my style sheet but I need to dequeue the Image Store sheets. I have tried:
wp_deregister_style ( ‘imstore’);
wp_dequeue_style( ‘imstore’);
wp_register_style ( ‘css-imstore’, get_stylesheet_directory_uri() . ‘/vendor/image-store/css/imstore.css’, ‘imstoreCSS’ );
wp_enqueue_style( ‘css-imstore’);
This will load the new style but the old style remains loaded which is causing conflicts.
I realize that I can turn off the css in the options but shouldn’t there be a way to do it through code so I don’t have to recreate every css file?
Thanks!
Chad