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)
-   -   [SOLVED] Creating a Fluid Image Header (http://forum.bytesforall.com/showthread.php?t=10030)

TerryEsh Oct 3, 2010 12:31 AM

[SOLVED] Creating a Fluid Image Header
 
I am creating a new site for a non-profit using ATO 3.5.3 wp.aauwatlanta.org We want to use an image banner for the header using stitched photo images. The image is 1200 pixels wide X 180 pixels high; the page width is set to fluid max. width 1280 pixels.

The problem is the page width is fluid but the image width is static. When zooming in the banner image is cut off. I tried ever combination of fixed or fluid width settings, but find none to resolve the behavior. Is it possible to set up the banner image to be fluid while maintaining the aspect ratio?

Thank you,

TerryEsh

lmilesw Oct 4, 2010 09:28 PM

In ATO>Style & edit Header Area in place of %image put code similar to the following.
HTML Code:

<img src="http://path_to_image.jpg" width="100%" />
To get the necessary html I usually create a dummy page add the picture, copy the code, and trash the page. Then I paste the code where aI want.

You could of course also wrap the image with an <a> tag so it could be linked to the home page.

TerryEsh Oct 13, 2010 06:03 PM

Thank you very much. Your solution works perfectly.

Regards,

Terry


All times are GMT -6. The time now is 06:54 PM.

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