Title: CSS not what&#8217;s expected
Last modified: February 23, 2020

---

# CSS not what’s expected

 *  Resolved [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/)
 * Hi
 * I search other tickets and found one that may have been similar, but the solution
   did not resolve my issue.
 * I use CSS in my child theme styles.css file for my signup form. My styles are
   not being applied correctly for the form.
 * How can I get this fixed?
 * Thanks
    Lyse
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-not-whats-expected%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12470130)
 * ….on the SUBMIT button, if you hover the button it should be dark green not yellow….
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12470354)
 * the problem is with the theme’s dynamic CSS which resides in `wp-content/uploads`
   and as such is excluded by default. you can try removing that exclusion from 
   the CSS optimization exclusion list, but do keep an eye on cache size as “dynamic
   CSS” tends to cause more cache misses.
 * hope this helps,
    frank
 *  Thread Starter [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12471929)
 * Hi Frank,
 * So to I exclude the **wp-content/uploads** or just the styles.css file? If just
   the file, how do I do that?
 * Thanks
    Lyse
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12471937)
 * Just try removing `wp-content/uploads` from the CSS exclusions 🙂
 *  Thread Starter [tremblayly](https://wordpress.org/support/users/tremblayly/)
 * (@tremblayly)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12473243)
 * Hi
    That worked. My styles are now applied correctly. Thank you for the prompt
   reply. Have a great day! Lyse
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12473313)
 * you’re welcome Lyse 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

 The topic ‘CSS not what’s expected’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/css-not-whats-expected/#post-12473313)
 * Status: resolved