March 24, 2014 at 1:25 am #14918
I’ve researched this a bit and finally found a plug-in that I think is helping (http://wordpress.org/plugins/async-js-and-css/).
One of the options this plugin offers is an area to add exceptions, which leads me to my question.
The only change this plugin made that I don’t like is a change to the main menu’s background and font colors for sub-categories. The color scheme I had put in place has reverted back to the default color scheme. see screenshot.
So my question is, where do I find the code that indicates my color scheme choices so I can add it to the exceptions area for this plug-in?
Here’s a link to my site:
thanks!March 24, 2014 at 1:29 am #19524March 24, 2014 at 2:28 am #19525Sushil AdhikariModerator
For the menu, styling is done from the theme’s theme-customizer.php file (in the “includes” folder) and then the theme’s function.php that inserts inline css into the of the page. There is one other area that does the structure of the menu, which is found in the theme’s style.css file and begins around line 1959 and starts with:
/** * 4.2 Navigation * ---------------------------------------------------------------------------- */
You will have to be careful with some of these plugins that do what this one does but also scripts that “minify” css or js, as well move them because they can cause problems. It’s a bit tricky to pinpoint what will work and what won’t with the number of scripts and css that themes and plugins also have, in addition to what is loaded in with WP.March 24, 2014 at 5:13 am #19526
thank you. I’m going to try to add them as exceptions and yes I’m paying attention to see if anything else becomes a problem with this plugin.March 25, 2014 at 7:30 am #19544
it minimized a plugin I had that disabled categories so clicking on any of the images on the home page led to a 404 error. It also messed up the custom gallery on my shop page so that if you clicked on an image, rather than showing the thumbnail it took you to the image itself…
I disabled that plugin and it’s back to the drawing board. Gaining a little speed isn’t worth all the problems that plugin ended up creating.March 25, 2014 at 7:19 pm #14919Sushil AdhikariModerator
Understandable….these kinds of plugins can sometimes cause issues as some stylesheets and scripts don’t work well when they are minimized, moved, or even combined with other files of the same format. There’s good optimizing plugins and some bad ones, so it’s a case of trying them out and finding out which one works best for your needs.
- You must be logged in to reply to this topic.