Tagged: x
-
AuthorPosts
-
December 5, 2016 at 11:00 pm #1282571
kateanitaParticipantHello,
I’ve moved my hamburger menu inline on mobile – I have the logo and nav stacked on desktop. I have everything worked out except that now I cannot figure out how to fill in the top navbar with the same transparent blue color.
Here is the webpage: http://homefed.stapkodesign.com/
And here is the code I have so far to move the hamburger inline:
@media (max-width : 979px) { .x-brand { background: url(/wp-content/uploads/2016/11/footerlogo.png) no-repeat top left; background-size: 20% auto; width: 80%; min-width: 200px; height: 40px; } .masthead-stacked .x-navbar { background: rgba(1, 38, 57, 1) !important; } .masthead.masthead-stacked .x-logobar { float:left; margin-left:20px; width:72px; } .masthead.masthead-stacked .x-navbar-wrap { float:right; margin-right: 20px; margin-top:14px; background: rgba(1, 38, 57, 0.75) !important; } .x-brand img { display: none; } }I’m using Ethos and all software is up to date.
Thank you!
Katie
December 6, 2016 at 3:01 am #1282771
ChristopherModeratorHi there,
Please remove this code :
.masthead.masthead-stacked .x-logobar { float:left; margin-left:20px; width:72px; }Add this one :
@media (max-width: 979px){ .masthead-stacked .x-navbar { top: -86px; } }Hope it helps.
December 6, 2016 at 11:58 am #1283424
kateanitaParticipantThat worked, thanks so much!
December 6, 2016 at 1:58 pm #1283577
JoaoModeratorGlad to hear it,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1282571 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
