Title: Errors with plugin using GeneratePress theme
Last modified: August 29, 2017

---

# Errors with plugin using GeneratePress theme

 *  [kdric](https://wordpress.org/support/users/kdric/)
 * (@kdric)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/errors-with-plugin-using-generatepress-theme/)
 * Using Autoptimize causes layout problems using GeneratePress theme and SiteOrigins
   plugin. Turning off “Optimise CSS Code?” fixes the errors. I see that I can turn
   on “Look for styles on just head?” option, but cannot I see where that option
   is. Any help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-with-plugin-using-generatepress-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/errors-with-plugin-using-generatepress-theme/#post-9451542)
 * “look for styles only in head” is a long gone option i’m afraid [@kdric](https://wordpress.org/support/users/kdric/)
   🙂
 * -> look for generic troubleshooting tips in [the FAQ](https://wordpress.org/plugins/autoptimize/faq)(
   you’ll probably have to exclude some CSS-files from optimization)
    -> you can
   still force AO to only use styles from head by using this code snippet;
 * `add_filter('autoptimize_filter_css_justhead','__return_true');`
 * hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Errors with plugin using GeneratePress theme’ 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/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/errors-with-plugin-using-generatepress-theme/#post-9451542)
 * Status: not resolved