- This topic has 2 replies, 2 voices, and was last updated 8 years, 6 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’m looking for a background image in the header of Magazine Pro. I tried many options, founded a solution but the result is not perfect using the theme on mobiles. I join an image to explain what I’m looking for.
Thanks for help !
Hi Harvey, I found this blog http://wpsites.net/web-design/styling-the-background-of-your-theme/, you can create an bg-image and solve it.
Just ad the code in the function file:
/** Add support for custom background */
add_theme_support( 'custom-background' );
This will add the background image functionality.
The problem with this piece of code is that it is adding a custom background in the all body... I just want a background in the top of the site (in the head, in my example I want a background of 160pixels height).
Any idea is welcome !
© 2022 WPEngine, Inc.