- This topic has 3 replies, 2 voices, and was last updated 10 years, 9 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 am trying to re-design my website using the new Modern Portfolio theme.
I would like the header background to be continuous across the entire width of the screen, as the footer width is, but no matter where I put the colour code into the stylesheet it gets ignored.
Has anyone else managed to do this? Or can anyone let me know which CSS code I'm overlooking?
Here's the site: http://www.tappenden.de/
The WordPress custom header feature can be frustrating. Add the following to your #header rule:
background-color: #fff500 !important; background-position: center !important; max-width: 100%;
Let me know how that works out for you.
Hard Boiled Greg
Hi Hard Boiled Greg,
thanks - that works! I must have been almost there at one point today, but missed off the !important.
The only thing is, that the background image for the header gets shifted slightly to the left as a result. But I guess I can fix that by moving the text in the image slightly if there isn't a CSS solution.
© 2023 WPEngine, Inc.