Support » Plugin: FB Page Promoter Lightbox » Optimize CSS

  • forallatlantis

    (@forallatlantis)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arevico

    (@arevico)

    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.

    Thread Starter forallatlantis

    (@forallatlantis)

    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.

    Plugin Author Arevico

    (@arevico)

    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

    Thread Starter forallatlantis

    (@forallatlantis)

    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 */

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Optimize CSS’ is closed to new replies.