Title: Styling issues
Last modified: December 18, 2021

---

# Styling issues

 *  Resolved [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/)
 * Hi
 * I thought I would try your plugin to combine the stylesheets etc. but I find 
   it is not 100% correct. Someo of the styles used by my theme don’t seem to get
   applied after activating the plugin.
 * My theme provideer asked if there was a way to say when it should apply these
   changes. But I see no settings.
 * At the moment I have deactivated your plugin until I know how to resolve the 
   issues.
    -  This topic was modified 4 years, 5 months ago by [Chuckie](https://wordpress.org/support/users/ajtruckle/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstyling-issues-28%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/styling-issues-28/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/styling-issues-28/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176304)
 * Hey Chuckie;
    You should see settings under Settings -> Autoptimize -> JS, CSS&
   HTML -> CSS Options but there is no “when” to configure, just “what” and “how”.
   Try to toggle “also aggregate inline CSS” and if the problem persists either 
   try excluding your theme (add `wp-content/themes` to the comma-separated exclusion
   list) or try removing the exclusions that are there by default? Let me know how
   it goes, I’ll be happy to have help more if you can’t get it right (but I’ll 
   need to see things broken on your site to be able to assess the problem).
 * cheers,
    frank
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176310)
 * Hi Frank
 * Thanks for getting back to me. Initially I have unticked the aggregate options
   and now it displays OK. Do you think I should be attempting to switch those check
   optiosn back on and then add that folder as per your suggestion? Which is best
   approach?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176313)
 * I would indeed suggest to try to re-activate “aggregate CSS” and first of all
   try with “also aggregate inline CSS” off (it’s on by default)?
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176318)
 * Now you will see the problem. I added link to the site to this discussion.
 * I have just ticked both of those aggregate options and also added teh exclusions
   folder. Now the site shows wrong. The main logo has wrong background, teh fonts
   in the widgets (soime of them) are wrong. etc.
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176350)
 * Please let me know if you need anything ulse to help resolve these issues.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176354)
 * Can you disable (untick) “also aggregate inline CSS” Chuckie?
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176356)
 * Hi. I think that did it! Doe sit look better for you now too? It does for me.
 * Thanks.
 * Note, I still have that “exclusion” entry added to the list as per your suggestion.
    -  This reply was modified 4 years, 5 months ago by [Chuckie](https://wordpress.org/support/users/ajtruckle/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176369)
 * yes, the site looks better now, but when checking the HTML source almost nothing
   is optimized now. the reason for this is the CDN being used, resulting in AO 
   skipping all those files as it considers them external. the solution would be
   to either disable the CDN and/ or to set the root CDN field in AO to `https://
   usercontent.one/wp/www.publictalksoftware.co.uk/`, can you try that?
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176376)
 * If I set that link and the try the site it looks very weird now. And if I switch
   off the CDN it also looks very weird.
 * I have left it as you said for you to see.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176389)
 * looks kind-of OK to me but I don’t know your site that well off course so here’s
   a screenshot;
 * ![](https://i0.wp.com/i.imgur.com/S7N62Bi.png?ssl=1)
 * but you might now get better results with “also aggregate inline CSS” back on?
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176402)
 * Hhm. Well …
 * I was getting the menu being listed as plain text up the left.
 * This is what I did:
 * 1. Deactivated CDN (this was part of the domain provider settings).
    2. Removed
   that CDN link you provided.
 * Now it works. But if I try to add the aggregate option again the stuff goes back
   to being black.
 * Since I have removed the CDN setting it is now getting optimised as you’d expect?
   Perhaps it is because we still have ‘wp-content/themes/’ in the list of exclusions?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176425)
 * yes, indeed now the CSS & JS are getting aggregated and minified all right. you
   could indeed try optimize further by removing the theme exclusion and re-enabling
   the “also aggregate inline CSS” option?
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176434)
 * I think it is ok now! I did what you said. See what you think. Thanks.
 *  Thread Starter [Chuckie](https://wordpress.org/support/users/ajtruckle/)
 * (@ajtruckle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176441)
 * One thing – in my support forum (bbPress) it uses EnlighterJS plugin for syntax
   highlighting. Now the highlighting is not working. This is of code.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/#post-15176447)
 * OK, can you try adding `plugins/enlighter/` to comma-separated JS optimization
   exclusion list?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/styling-issues-28/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/styling-issues-28/page/2/?output_format=md)

The topic ‘Styling issues’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 18 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/styling-issues-28/page/2/#post-15176470)
 * Status: resolved