- This topic has 2 replies, 2 voices, and was last updated 10 years, 10 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
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
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.
© 2024 WPEngine, Inc.