-
AuthorPosts
-
September 9, 2015 at 7:10 am #383031
Hi,
I seem to be having a similar problem, my navbar covers up the top section of my page when I check responsiveness for smaller devices (by shrinking window to a smaller size). I tried the codes you give above but none of them fully fix the issue. Do you have any advice?
My website: http://selfknowledgemanagement.org
Many thanks!
September 9, 2015 at 7:15 am #383036Hi @solomon,
Try adding following CSS under Appearance > Customize > Custom > CSS:
@media (max-width: 979px){ .x-main { padding-top: 201px; } }
Hope it helps.
September 9, 2015 at 7:23 am #383049Hi, thanks for your swift reply! That code does help with the shrinking, but I realised that even when I am on my laptop (13″) the top section of my page is cut off… Can this be fixed?
September 9, 2015 at 7:34 am #383067Hi there,
Please add this :
body.x-navbar-fixed-top-active .x-navbar-wrap { height: auto; min-height: 150px; }
Hope it helps.
September 9, 2015 at 7:44 am #383080Hi, unfortunately not quite, the top is still cut off and when I decrease window size there’s a huge gap between top section and navbar…
September 9, 2015 at 8:10 am #383108Hi,
Please remove the code in your custom css that reads
@media (max-width: 979px){ .x-main { padding-top: 201px; } }
and
body.x-navbar-fixed-top-active .x-navbar-wrap { height: auto; min-height: 150px; }
Then add this code instead.
body header.masthead { min-height:201px; }
Hope that helps.
September 9, 2015 at 9:39 am #383185Hi, yes, that worked, thank you! (When I look at my site while logged into WordPress, the alignments still have issues, but once logged out it looks fine.)
Thanks for your great support once again!
September 9, 2015 at 10:17 am #383239You’re most welcome 🙂
February 18, 2016 at 8:28 pm #802588The code in reply #277539 also works nicely, when scrolling back up on a mobile phone, while keeping the navbar above LayerSlider. Thank you!
February 19, 2016 at 3:25 am #803003You’re welcome! 🙂
-
AuthorPosts