Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Specifying image size for rotating header


  #1  
Old Jul 5, 2013, 06:00 AM
JPMewley
 
4 posts · Aug 2010
We are using a rotating header on our site - www.ospdirect.com. All images are PNG's 1080 x 180. When using the GTMetrix speed test, the result is the header images(s) are missing width and/or height attributes. It is my understanding we need to specify the width and height of all images, either in the HTML <img> tag, or in CSS to correct this loading/speed issue. I am not sure how to do that within Atahualpa.

Any advice or suggestions sure would be appreciated.
  #2  
Old Jul 5, 2013, 06:15 AM
juggledad's Avatar
juggledad
 
23,648 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I personally don't pay much attention to the speed test sites. There are too many variables. If you want a really fast site make sure you are on a private server, your images are on a CDS all of whidh costs $$

the rotate/cross fade is done via jquery

you could try adding
HTML Code:
#imagecontainer img {
    height:  180px;
    width: 1080px;
}
to the CSS inserts and see if that resolves your 'warnings'

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep rotating Header Image on Home Page and Different header images on other pages maralian Header configuration & styling 5 Apr 24, 2013 08:34 AM
Problem rotating & fading header images and overlay header image SiaRa Header configuration & styling 9 Aug 7, 2012 12:37 PM
[SOLVED] Keep rotating Header Image on Home Page and Different header image on each p clausont Header configuration & styling 53 May 17, 2012 11:56 PM
rotating header image not working after images/header folder delete cpickeri Header configuration & styling 7 Oct 12, 2011 05:03 AM
rotating image header- more than one? ortixia Header configuration & styling 1 Nov 26, 2009 06:24 PM


All times are GMT -6. The time now is 10:44 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.