Tagged: x
-
AuthorPosts
-
June 22, 2016 at 3:01 pm #1055003
hjzhaoParticipantIs there any way to have my navbar “transparent” on my homepage but with a white background on all my other pages?
This is the custom CSS i found in this forum that I used –
.x-navbar {
background-color: transparent !important;
border: 0;
}
.x-logobar{
background-color: transparent !important;
}.masthead {
height:0px;
}But I’d like to keep the nav bar on my other pages the same as it was before, like the image attached. Thanks!
June 22, 2016 at 3:03 pm #1055008
hjzhaoParticipantapparently the image exceeds the allowed file size. But I think you know what I mean. Like a white fixed background for the navbar as opposed to transparent. Thanks!
June 22, 2016 at 7:22 pm #1055307
JadeModeratorHi there,
Please try this code in the customizer:
.home .x-navbar { background-color: transparent !important; border: 0; } .x-navbar { background-color: #fff !important; }Hope this helps.
June 22, 2016 at 11:39 pm #1055749
hjzhaoParticipantThankyou! is there any way to change the font color on the navbar for the homepage but not the other pages? Thanks!
June 23, 2016 at 2:43 am #1055912
RupokMemberHi there,
You can use this :
.home .x-navbar .x-nav-wrap .x-nav > li > a { color: #000; }Let’s use your own color code.
Cheers!
June 23, 2016 at 3:54 pm #1056961
hjzhaoParticipantThanks! Is there any way to just change the color of the font when you hover over it?
June 23, 2016 at 9:19 pm #1057451
FriechModeratorHi There,
In that case update the given css code to:
.home .x-navbar .x-nav-wrap .x-nav > li:hover > a { color: #000; }If this does not work, please provide us the site URL.
Thanks.
July 2, 2016 at 1:43 am #1069318
hjzhaoParticipantThis reply has been marked as private.July 2, 2016 at 1:55 am #1069324
ChristopherModeratorHi there,
Find and remove this code :
.home .x-navbar .x-nav-wrap .x-nav > li:hover > a { color: #EE1C66 ; }And add this code :
.x-navbar .desktop .x-nav > .current-menu-item > a { color: #EE1C66; }Hope it helps.
July 2, 2016 at 1:17 pm #1069746
hjzhaoParticipantThankyou! I actually had to keep both lines of code in order for it to work!
July 2, 2016 at 10:37 pm #1070026
RadModeratorGlad to hear that and you’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1055003 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
