WordPress.org

Ready to get started?Download WordPress

Forums

JS & CSS Script Optimizer
Doesn't work with css background images (3 posts)

  1. mneil
    Member
    Posted 3 years ago #

    I have a main stylesheet like all templates, style.css, and then built separate stylesheets for either specific pages or templates and wanted to combine them with the optimizer. I'm using my own compression, yui compressor, and when I switched on the merge for css in the plugin I noticed my page laid out fine but was missing a lot of images. I tracked it down to the image path since the url for the stylesheet is rewritten to the uploads folder background image url's like images/logo.gif no longer work! I'm using enqueue_style for the main stylesheet, the plugin is working fine; it's just that the background image paths become broken.

    http://wordpress.org/extend/plugins/js-css-script-optimizer/

  2. mneil
    Member
    Posted 3 years ago #

    js-css-script-optimizer also doesn't work with wp_localize_script() apparently.

  3. Yevhen
    Member
    Plugin Author

    Posted 2 years ago #

    I think that I found the problem! Please update to version 0.2.1.
    P.S.: Sorry for delay :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic