Support » Plugin: WP Fastest Cache » Minify CSS still problematic

  • Resolved Kramarz

    (@kramarz)


    Hi mate,
    There’s still some problem when Minifying CSS.
    Here’s a example website for you to inspect – http://www.fivestarcleaning.ie/

    I will leave it like that for a while for you to take a look, will remove the plugin or switch off CSS minify after that.
    At the Very bottom there’s a widget ‘Get in Touch’. Third phone number is a fax number which should have a fax icon by it.

    The background CSS for a DIV that it sits in should be
    background: url("/wp-content/uploads/fax-icon.png") no-repeat scroll 0 9px rgba(0, 0, 0, 0);

    Unfortunately it gets broken by your plugin, so it is now
    background: url("../../../themes/freshbiz-child//wp-content/uploads/fax-icon.png") no-repeat scroll 0 9px rgba(0, 0, 0, 0);
    as you will notice.

    Any advice on how to fix it until you will fix the Minify CSS option?

    Kind Regards

    https://wordpress.org/plugins/wp-fastest-cache/

Viewing 15 replies - 1 through 15 (of 27 total)
  • I think the issue is related to having a child theme and pulling some background images from the images folder within child theme?

    Plugin Author Emre Vona

    (@emrevona)

    this is expected issue. Often designers put the style files into “theme” folder. but you put it into “upload”. If you put your icon into “/themes/freshbiz-child/fax-icon.png”, the problem is fixed.

    Plugin Author Emre Vona

    (@emrevona)

    closed

    So you’re saying that with your plugin I can’t put images that I use for styling in upload folder if I find it convenient?

    Plugin Author Emre Vona

    (@emrevona)

    yes exactly. images must be in the /wp-content/theme/your-theme/

    Well mate,

    I guess it’s your plugin, do what you like 🙂

    But I don’t have this kind of issues when I use other caching plugins.
    My CSS styling images can be pulled from where ever I like them to be pulled.

    I left your plugin installed on the website mentioned here, but I just spent an hour fixing all the images that were uploaded to uploads folder to be in ‘images’ folder of the child theme instead and changing css background urls for them 🙁

    I think you may want to reconsider a small fix for that. For me sometimes it’s easier to simply upload through WordPress images I want to use for css and add urls in stylesheet accordingly.

    But maybe that’s only me 🙁

    Plugin Author Emre Vona

    (@emrevona)

    you are right but worpress is a framework and we need to use properly.

    Plugin Author Emre Vona

    (@emrevona)

    Hi again Kramarz, I will solve this issue.

    That would be perfect mate, I understand what you’re saying about WordPress being framework and needs to be used properly, But for some people, even for myself, sometimes it’s just easier and faster to upload image I want to use for CSS through media uploader and then use /wp-content/uplods/file-name.jpg in stylesheet as url for background for example.

    Anyway, still loving your work!

    Plugin Author Emre Vona

    (@emrevona)

    yes you are right so I need to implement it. thank you so much…

    Hi again Emre 🙁

    Please take a look at http://www.irishrecycledproducts.ie/

    Down the bottom right there are social icons appearing just fine on home page, but when you go to any other page and check the display is broken.

    Any ideas? Could be a conflict with Simple Social Icons plugin? Was fine before latest update as far as I know.

    ok, update – looks like you still need to do some work on combining stylesheet option

    When I don’t use:

    Combine Css – (Beta)Reduce HTTP requests through combined files

    Everything is fine.

    I will leave it broken for you to inspect until I hear from you or till tomorrow, whichever comes first 🙂

    Thanks!

    Plugin Author Emre Vona

    (@emrevona)

    “Combine Css” is beta now. I am working on making it compatible on all platforms.

    Ok, I’m going to switch it off now then, until further notice! 🙂

    Thanks and all the best!

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Minify CSS still problematic’ is closed to new replies.