Tagged: x
-
AuthorPosts
-
January 20, 2017 at 6:39 pm #1339096
tipul01ParticipantHello,
I have the following custom css added, to get rid of the navbar border a bit plus make it transparent.
body .x-navbar {
background-color: rgba(0, 0, 0, 0.3);
}.ubermenu.ubermenu-horizontal{
background:rgba(0,0,0,0);
}.ubermenu-target-title:hover {
text-decoration: underline !important;
}.ubermenu-current-menu-item .ubermenu-target-title {
text-decoration: underline;
}.x-navbar {
border-top: 0px solid #fff;
border-bottom: 1px rgba(#fffff,#fffff,#fffff,0.1);
box-shadow: 0px 0px 0px #846c2b, 0px -0px 0px #846c2b !important;
}I am trying to get the navbar to change from transparent to solid color black. I tried the solutions posted on the forum for others, but ithink its because maybe of the rgba command instead of background-color?
http://test.digitalcube.ro/Word
Thank you.
January 20, 2017 at 10:09 pm #1339339
Prasant RaiModeratorHello There,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.x-navbar.x-navbar-fixed-top { background-color: #000 !important; }Thanks.
January 21, 2017 at 9:36 am #1339658
tipul01ParticipantThank you for the response!
I missed to say that i would like it to be transparent at first and when i scroll down, the navbar to become solid.
I cheked and tried the javascript commands posted on the forum but i think it wont take my classes.
Any thoughts?
Sebastian
January 21, 2017 at 10:27 am #1339693
ThaiModeratorHi Sebastian,
Please add the following CSS:
.home .masthead { position: absolute; width: 100%; } .home .x-navbar.x-navbar-fixed-top { background-color: transparent !important; border: none; } .home .x-navbar.x-navbar-fixed-top.x-navbar-solid { background-color: rgba(0,0,0,0.3) !important; }Hope it helps 🙂
January 21, 2017 at 3:47 pm #1339909
tipul01ParticipantHello,
Superb, thank you!
I know im being a drag, but is there any way to make the transition smooth, or animataed? Even if the navbar dissapears upwards and it comes back down again solid color?
Thank you so much!
January 21, 2017 at 10:46 pm #1340148
ChristopherModeratorHi there,
We can’t add animation to this, as you see the background is being changed from top to bottom.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1339096 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
