Navbar-Max width not working
Lalene
Registered Users Posts: 30 Big grins
Hi everyone,
So I'm trying to change the top margin of my homepage navbar when viewed on some tablets; however, the max-width value I enter does not take any effect, as opposed to when I enter a min-width value only.
@media only screen and (min-width: 760px) and (max-width: 810px) {
.sm-user-ui .sm-page-content > .sm-page-layout > .sm-page-layout-region > .sm-page-layout-region-left {
margin-top: -35px !important;
}
}
Any suggestions? :dunno
So I'm trying to change the top margin of my homepage navbar when viewed on some tablets; however, the max-width value I enter does not take any effect, as opposed to when I enter a min-width value only.
@media only screen and (min-width: 760px) and (max-width: 810px) {
.sm-user-ui .sm-page-content > .sm-page-layout > .sm-page-layout-region > .sm-page-layout-region-left {
margin-top: -35px !important;
}
}
Any suggestions? :dunno
0
Comments
Glad to hear that!
SmugMug Support Hero