Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter James Revillini

    (@jrevillini)

    Well, that was an easy find. I knew had to do with the Revolution Slider Plugin. I’ve had some many issues with the way they’d coded the style and script enqueing … ANYWAY.

    The thing to know is that YES, in general, if there are syntax errors in any CSS files, it could cause some issues when all of the css is compiled by Autoptimzer, so the thing to do is to turn CSS optimization off, view source on your page, click each css file link, go to it, and use ccclint.net to check the CSS and fix any errors before enabling CSS optimization.

    For my specific problem: with RevSlider 4.1.4, which is the current one packaged with the X Theme by theme.co, Autoptimizer’s CSS will fail because of a syntax error in RevSlider’s settings.css file.

    To fix, go to wp-content/plugins/revslider/rs-plugin/css/settings.css, line 216, and change:
    .rev_slider .caption, { position:absolute; visibility: hidden; }

    to:
    ‘.rev_slider .caption { position:absolute; visibility: hidden; }’

    Plugin Author Frank Goossens

    (@futtta)

    that would not have been an easy question to answer, thanks for solving & sharing James! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘breaks X theme css’ is closed to new replies.