Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › WP eStore – How to prevent custom CSS file from loading › Reply To: WP eStore – How to prevent custom CSS file from loading
Hi, Are you by any chance using the W3 Total Cache plugin? or another plugin that can combine CSS files and serve one CSS file for your site? That option can really help with this without you having to do any customization at all. For example on our site we use the W3 Total cache plugin to combine most of the small CSS files and serve one big CSS file.
To manually turn off the loading of the custom CSS file, please open the wp_eStore1.php file and search for this line:
echo '<link type="text/css" rel="stylesheet" href="'.WP_ESTORE_URL.'/wp_eStore_custom_style.css" />'."n";
Once you find it replace with the following:
//echo '<link type="text/css" rel="stylesheet" href="'.WP_ESTORE_URL.'/wp_eStore_custom_style.css" />'."n";
If you want to use the css file in future you can just uncomment the line (by removing // at the beginning).