WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Page Promoter Lightbox
Optimize CSS (5 posts)

  1. forallatlantis
    Member
    Posted 11 months ago #

    I try to optimize my site and YSlow give 2 small hints that you can implement or avoid:
    1. Avoid AlphaImageLoader filter
    2. Avoid CSS expressions
    It looks this two elements that are present now in CSS file creates blocking rendering and slowing site loading.
    Can you please try to exclude this hints from your CSS?

    Best regards

    http://wordpress.org/plugins/facebook-page-promoter-lightbox/

  2. Arevico
    Member
    Plugin Author

    Posted 11 months ago #

    Those CSS rules are set in place by an external library (fancybox). We have chosen not to remove it due to make the dependency manageble and for backward compatibility with Internet Explorer.

    If you still wish to have these lines removed, you can edit scs.css to remove those lines.

  3. forallatlantis
    Member
    Posted 11 months ago #

    Can you make different CSS for IE? Otherwise I can change CSS but I have to do this change every time I update your plugin.
    IE dropped in browsers usage in 2013 to 20% and I don't know why everyone should "pay" a slower load because of them. Please try to create different CSS for IE.

  4. Arevico
    Member
    Plugin Author

    Posted 11 months ago #

    20% is still a significant percentage and i tough that browser which dont interpret rules, just ignore them. I will add this suggestion to the list for the new version to atleast think about it a little bit more

  5. forallatlantis
    Member
    Posted 11 months ago #

    I found another gradient css hint for IE witch avoid AlphaImageLoader filter. At least it's work arround.

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.