WordPress.org

Forums

Transposh WordPress Translation
[resolved] Using CSS Sprites for flag images? (7 posts)

  1. Paul Thomson
    Member
    Posted 2 years ago #

    Hello,

    Was there any plan in future releases to deliver the flag images using CSS sprites and reduce the number of http requests?

    Regards,
    Paul

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    Hello Paul,

    Why should there be a future release for a feature that is already there?

  3. Paul Thomson
    Member
    Posted 2 years ago #

    Hello Ofer,

    Thanks for the quick response.

    Maybe I'm missing something here, is there a setting I need to activate to enable the CSS sprites?

    If you check my site at http://www.livefreedietravelling.com at the top of the right hand sidebar I've got your widget, if I do an inspect element on the flags they are all coming up as different URL's.

    The additional HTTP requests are also shown on http://www.webpagetest.org/pagespeed.php?test=130123_7T_WWJ&run=1&cached=0

    Thanks again for any help you can offer,
    Regards,
    Paul

  4. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Paul,

    You can choose a widget appearance with the css, it is one of the options, you are welcomed to look at the widget on transposh.org and see

    Good luck :)

  5. Paul Thomson
    Member
    Posted 2 years ago #

    Hi Ofer,

    Thanks for the quick response! Wow, completely didn't know that...

    Perfect, take care,

    Paul

  6. iaddic
    Member
    Posted 2 years ago #

    Hi Ofer:

    I am missing something I think. I have enabled flags (with CSS) and have run speed tests at http://www.webpagetest.org/ and I do not see one sprite but each individual flag which requires a lot if http requests. Other than enabling the widget (which I have in the footer of my wordpress site) is there something more I need to do?

    each flag presently is loading a unique png file like this: http://iaddicshelters.net/wp-content/plugins/transposh-translation-filter-for-wordpress/img/flags/la.png

  7. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    Hi @iaddic,

    First note - would appreciate if people will not respond to two month old closed topics, but rather create new ones.

    But to your point, I have checked your site, and the .css version seems fine, maybe the testing page uses a cached copy of your site, which is not .css enabled. I advise that you retest this.

    Good luck

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Transposh WordPress Translation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic