Tagged: x
-
AuthorPosts
-
February 6, 2017 at 4:04 pm #1360250
alamtfuerwerbungParticipantHi, pls see http://www.amtfuerwerbung.de
And these screenshots:
http://ctrlv.in/923021
http://ctrlv.in/923024I desktop size I have a background behind the navigation and logo.
In mobile mode I don´t and so it doesn´t look fine when visitors scroll down.
Pls let me know how to add the background color white to the mobile header section.Thx
AndreFebruary 6, 2017 at 11:13 pm #1360680
RupokMemberHi Andre,
Thanks for writing in! Your site is not loading on my end so can’t check. But if you set background color for Navbar from Customizer, it should be applied for both desktop and mobile. You can try adding this CSS :
.x-navbar{ background-color: #fff; }Cheers!
February 7, 2017 at 2:22 am #1360823
alamtfuerwerbungParticipantThis reply has been marked as private.February 7, 2017 at 2:47 am #1360842
LelyModeratorHello Andre,
By default, navigation is not fixed on mobile view. Please try adding this custom CSS too:
@media (max-width: 979px){ .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right { position: fixed; } }Hope this helps.
February 7, 2017 at 12:21 pm #1361543
alamtfuerwerbungParticipantHi, yes that helps, but in mobile mode the top part of the content disappears behind the header area. How can I add a margin, just vor the mobile mode?
February 7, 2017 at 5:20 pm #1361910
JadeModeratorHi Andre,
Please update the code to:
@media (max-width: 979px) { .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right { position: fixed; } .x-main.full { padding-top: 130px; } }Hope this helps.
February 7, 2017 at 6:37 pm #1361966
alamtfuerwerbungParticipantBetter thank you.
But there is one more thing. When browser is smaller than 979px and I reload the page I have that space http://prnt.sc/e5vn9wIf I scroll just a little bit (also when touching the mouse a little) I have that space: http://prnt.sc/e5vnnv
And it does´t change when I scroll back. The bigger space is just visible when you refresh the page.Thx for help
AndreFebruary 8, 2017 at 1:10 am #1362412
LelyModeratorHello Andre,
Please update the code to this instead:
@media (max-width: 979px) { .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right { position: fixed; } body.x-navbar-fixed-top-active .x-navbar-wrap { height: 90px; } }Hope this helps.
February 8, 2017 at 4:51 am #1362590
alamtfuerwerbungParticipantperfect thx
February 8, 2017 at 6:25 am #1362676
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1360250 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
