Home › Forums › All Other Themes › transparent header
- This topic has 7 replies, 2 voices, and was last updated 4 years, 10 months ago by Sonl Sinha.
-
AuthorPosts
-
November 14, 2019 at 12:17 am #135851
Hello Team
I purchased the complete pro theme and set different header images on all pages (only worked by set a “headercode with <img src=…”)
My site is https://www.ngsystems.ch
I set the option transparent header on the homepage.What do I have to add to the custom CSS that all pages have a transparent header/Menu bar?
And is there a code that the top menu bar and the menu bar (with logo and menus) stay on top while scrolling the webpage?
Many thanks.
Nicolas
November 14, 2019 at 2:42 am #136409and on the smartphone the mobile menu links have an annoying offset! I have to fingertip a little bit above the links to open the right pages?
How do I solve this problem?
Thanks.
Nicolas
November 14, 2019 at 5:34 am #137055Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
.page .header, .single .header, .archive .header, .search .header { background-color:transparent !important; position:absolute !important;}
Regards,
DaveNovember 14, 2019 at 10:45 pm #139467Hi Dave
on the computer the menu now works as asked. But on the smartphone the background color of the “logo bar” is now transparent/white, but only on the inner pages and not on the home page?!
and how do I resolve the offset of the links in the menu bar on the smartphone (ex. when I click on the second menu link, it opens the third) ?
Many thanks.
Nicolas
November 14, 2019 at 11:18 pm #139468Hi Dave
the offset problem was because of my big fingers and the small buttons…;-)
can you give me a workaround for the newly appearing wrong background color (transparent/white) on the smartphone behind the logo on the inner pages? (on the home page it’s the right color dark green?!)
Many thanks!
Nicolas
November 15, 2019 at 5:28 am #139491Hi,
Kindly use this one:
@media screen and (max-width:479px) { .page .header, .single .header, .archive .header, .search .header { background-color:#383939 !important;} }
Regards,
DaveNovember 15, 2019 at 11:46 pm #139558Hi Dave
I succeeded by adding in css first your solution with transparent until 47.938em and then your solution with color #383939 apart 48em!
I have this numbers from the theme-responsive.css file from the theme.Many thanks.
Nicolas
November 18, 2019 at 5:41 am #139595Hi,
Kindly use this
@media screen and (min-width:480px) and (max-width:767px) { .page .header, .single .header, .archive .header, .search .header { background-color:#383939 !important;} }
Regards,
Dave -
AuthorPosts
- You must be logged in to reply to this topic.