Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Logo image - width and height attributes (http://forum.bytesforall.com/showthread.php?t=22833)

cefiar Sep 21, 2014 06:27 PM

Logo image - width and height attributes
 
I was trying to see if there was a way to add width and height attributes to the logo image (so that the browser knows the layout and can get on with rendering the page).

I stumbled across this, so thought I'd post it as it might help someone else:

You can edit the Show Logo Image? field of the Atahualpa Style & edit HEADER AREA section of the Atahualpa theme options to include these:

eg: If your logo is called logo.png and it's 139px width and 125 px high, you can put the following in the field:

Code:

logo.png" width="139" height="125
And then Save.

Notes:
  1. Make sure to leave off that last quote, as Atahualpa will add one automatically.
  2. The field will only show the filename once refreshed, but inspection of the HTML page source will show the that the width and height tags are there.
  3. This should work for any tags you might want to add to the image.


All times are GMT -6. The time now is 07:17 AM.

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