Tagged: x
-
AuthorPosts
-
April 12, 2016 at 5:39 pm #879052
zionchildParticipantHello, I’m trying to create a transparent menu bar. I used this code below which I saw on another thread in this forum.
.x-logobar, .x-navbar {
background-color: #000 !important;
}@media (min-width: 980px) {
.home .x-logobar, .home .x-navbar {
background-color: transparent !important;
}
.home .masthead {
height:0;
}
}It’s working in chrome but in firefox it is not. Any suggestions? Here’s the site. http://teachmeonlinemarketing.com/asas
Thanks.
April 13, 2016 at 6:12 am #879801
ZeshanMemberHi there,
Thanks for writing in!
Please use this CSS code instead:
.x-logobar, .x-navbar { background-color: #000 !important; } @media (min-width: 980px) { .home .x-logobar, .home .x-navbar { background-color: transparent !important; } .home .x-navbar { position: absolute; width: 100%; left: 0; } .home .masthead { height:0; } }Thank you!
April 13, 2016 at 2:46 pm #880715
zionchildParticipantThat works great! Thanks.
April 13, 2016 at 11:32 pm #881408
Paul RModeratorYou’re welcome! 🙂
April 21, 2016 at 2:20 pm #894199
zionchildParticipantThis worked on the homepage but it’s not working on all the other pages. It’s there a code to make the menu bar globally transparent?
April 21, 2016 at 7:29 pm #894521
zionchildParticipantThis worked on the homepage but it’s not working on all the other pages. It’s there a code to make the menu bar globally transparent?
April 22, 2016 at 3:46 am #894996
Rue NelModeratorHello There,
The given code is only good for the homepage. If you want to set it globally, please update the code and use this instead:
.x-logobar, .x-navbar { background-color: #000 !important; } @media (min-width: 980px) { .x-logobar, .x-navbar { background-color: transparent !important; } .x-navbar { position: absolute; width: 100%; left: 0; } .masthead { height:0; } }Please let us know if this works out for you.
April 22, 2016 at 10:27 am #895528
zionchildParticipantThat worked great. Thank you.
April 23, 2016 at 3:18 am #896417
Rue NelModeratorYou’re welcome!
Thanks for letting us know that it has worked for you. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-879052 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
