![]() |
I ran the Google Page Speed Test and My score still stinks :) It suggested that I run Css Sprites even though I put this Hack on and it appears that I have sprites in the Image Directory that was made too.
|
But i suppose you do see an improvement?
Yes, google will still show up css sprites beeing an issue since gradients can't be included in the sprite since they are highly dependend on styles. But since they are mostly <10px google says you should combine them. In addition, if you have some addons installed google might pick up on pictures those addons include. And there of course is allways the option of using the 'add_custom_image_to_sprite' hook we provide in our addon, where you can add additional custom icons your board uses. Aside that, i have to ask this, did you make the required template changes? Without them your board won't be using the sprite. |
Quote:
|
After running the google speed test, I noticed that there is still 27 images that is not turned into css sprites.
How do I add these as well? Most of them are in my additional.css template. |
Quote:
GlossyHeader.png collapse.png collapse_40b.png lastpost-right.png search.png widget-comment.png selected-tab-gradient-with-top-alpha.png icon1.png arrow.png bottom-shadow.png event.png facebook_login.gif forum_stats.png legend.png navbit-home.png rss_40b.png tab-collapsed.png forum.png profile.png category-16.png forum_link-16.png forum_new-16.png forum_old-16.png post_old.gif Tough for me to say if there's been an improvement since I didn't run the test before hand. I'm trying to make other optimizations and work on the Leverage caching. My score of 54 is pretty bad :) |
Quote:
I'm going to translate the custom_icon_add instructions we have posted on vb-ger.org right now, as a warning. They are what i would call advanced. ;) |
How-To:
Include custom icons to your sprite: !Warning! very advanced - if you do not know what you are doing. Stop right here. Custom icons are added via plugin and hook
I hope it helps. And do not say i didn't warn you. It is advanced. :p |
Quote:
|
Thanks Mooff, that helps a lot :)
But some of the images I have to replace is defined in additional.css. Do I have to find where they are called in the forumhome template and add the <span class="sprite....."></span> code there and remove the line from additional.css, or is there another way to do that? |
Hello archet1337,
please give an full example of your situation, this would help us to give you the best solution :) Best regards Sebastian |
All times are GMT. The time now is 08:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|