navbar-inner box on sticky-enabled
-
Hello friends,
I have applied the following snippet to keep the navbar box remain sticky upon scroll. But, the menu fonts reverts to ‘inherit’ and the box ‘twitches’, despite the code for the fonts (see below).
Any ideas to fix the fonts and the twitch?
The subject website is : https://nonmsm.com/
___________________________
/* background on sticky enabled */
.sticky-enabled .navbar-inner { background-color : #fff !important; }/* navbar-inner box on sticky-enabled */
.sticky-enabled .navbar .navbar-inner {
margin: 5px 5px 11px;
-webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
-moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
box-shadow: 0 2px 10px rgba(0,0,0,.25);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
background-color: #fafafa;
background-image: -moz-linear-gradient(top,#fff,#f2f2f2);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#f2f2f2));
background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
background-image: -o-linear-gradient(top,#fff,#f2f2f2);
background-image: linear-gradient(to bottom,#fff,#f2f2f2);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#ffffffff’, endColorstr=’#fff2f2f2′, GradientType=0);
}
.sticky-enabled .navbar .nav > li > a {
font-weight: bold !important;
color: #104E8B !important;
}
________________Thank you.
- The topic ‘navbar-inner box on sticky-enabled’ is closed to new replies.