I was trying to use a hook to place an image in the header area so that it would shrink when viewed on smaller screens. I deleted the image from the header settings on the dashboard and edited my functions.php file with code that I found here: http://www.geoffreyrickaby.com/web-development/how-to-create-a-static-header-in-genesis
The banner has now disappeared. When I checked firebug, I could see that the header there had nothing in the url in background CSS, athough I put it there more than once. Does anyone have any suggestions on what might be wrong? The site I'm talking about is http://sample4.tonibdesign.com/
Thanks in Advance,
The image won't automatically shrink.
You'd need to install a responsive header plugin and add different image sizes.
There's many ways you can display a static header image.
Install a plugin
Add HTML to Genesis Simple Hooks header hook field
Add a custom function
None of these will make your header image responsive unless you have a special plugin or have added code to make it responsive. http://designsbynickthegeek.com/plugins/genesis-responsive-header
Volunteer who’s written 1814 tutorials & 3000+ Code Snippets for members – Not For Hire.
Thanks for your help. I have tried using CSS and adding a custom function. After checking firebug, I can see that custom divs, html, etc. that I added using functions.php are not showing up. I posted the question above to see if anyone had any idea why it's not working. Thanks again for taking the time to answer my post though.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!