Tagged: x
-
AuthorPosts
-
July 4, 2016 at 3:44 am #1071205
AbdulQ9ParticipantI have tried using
@media (max-width: 979px) {
.x-widgetbar {
position: fixed;
}
}But this didn’t work on my theme at all.
my site is
http://www.sphcdacop.orgJuly 4, 2016 at 3:48 am #1071212
Paul RModeratorHi,
Kindly change your code to this.
@media (max-width: 979px) { .masthead .x-navbar.x-navbar-fixed-top { position:fixed; width:100%; } }Hope that helps.
July 4, 2016 at 8:32 am #1071514
AbdulQ9Participantunfortunately, that didn’t work.
July 4, 2016 at 9:00 am #1071550
ThaiModeratorHi There,
You forgot to close the curly bracket(}) in your custom CSS.
Please find:
@media(min-width: 1100px){ .site .x-brand { position: absolute; padding-top: 1px; } .site .x-brand img { width: 120px; } .x-colophon.bottom { padding: 5px 0; } @media (max-width: 979px) { .masthead .x-navbar.x-navbar-fixed-top { position:fixed; width:100%; } }And replace to:
@media(min-width: 1100px){ .site .x-brand { position: absolute; padding-top: 1px; } .site .x-brand img { width: 120px; } .x-colophon.bottom { padding: 5px 0; } } @media (max-width: 979px) { .masthead .x-navbar.x-navbar-fixed-top { position:fixed; width:100%; } }Hope it helps 🙂
July 4, 2016 at 11:37 am #1071741
AbdulQ9ParticipantThat did it good thanks a lot.
July 4, 2016 at 11:42 am #1071747
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1071205 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
