This topic has 4 replies, 3 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp
I am attaching a screenshot of what I want to achieve in the “Private Content.”
I believe the trick is to get <?php get_template_part('headers/header-structure', $hstrucutre); ?>
to show up before “st-pusher” (<div class="st-pusher" style="background-color:#fff;">
).
However, when I edit “header.php” and put <?php get_template_part('headers/header-structure', $hstrucutre); ?>
before <div class="st-pusher" style="background-color:#fff;">
then the header shows up over the mobile navigation / menu and blocks it.
I’ve solved it temporarily by specifying the “background-color” for “.main-header” in my custom.css file.
Hello,
For clarify. Do you want the white background for all site or what?
As I see you added .main-header{background-color: #fcf8ed !important;}
But I can’t understand what are you trying to achieve?
Regards,
Robert Hall.
Hello,
Sorry for my confusing post.
Basically, I would like for the background that is behind the “main-header” div to be transparent so it shows the background image / background color – as shown in my Dropbox link in the original “Private Content” I sent. That image shows the look I am trying to achieve.
By default, that background behind the “main-header” is white because it’s inside of the “st-pusher” div, which has a white background.
I’m sending you a photo that explains this better hopefully in the “Private Content.”
Thanks again!
Hello,
To change background color for the whole content you need add this code in custom.css:
.st-content {
background-color: #FCF8ED;
}
Replace color value with yours.
Thank you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up