Tagged: x
-
AuthorPosts
-
August 27, 2016 at 8:49 am #1149632
yhshin1020ParticipantHey,
So i was given this piece of code to ensure that the mobile menu was fixed, instead of being overlapped like i have it on larger screens:
@media (max-width: 979px) { body .x-navbar { position:static !important; } }I thought this worked, but I was wrong. This cuts off the dropdown menus on mobile.(see picture)
How do i make it such that the header is not overlapped yet the menu still shows?
Thank you.
August 27, 2016 at 8:50 am #1149634
yhshin1020ParticipantThis reply has been marked as private.August 27, 2016 at 8:51 am #1149635
yhshin1020ParticipantThis reply has been marked as private.August 27, 2016 at 11:15 am #1149746
LelyModeratorHi There,
Thank you for the credentials. Please remove that custom CSS and then check this link:http://sevenspark.com/docs/ubermenu-3/settings/menu/submenus. Look for Mega Submenu Max Height to resolve the issue of submenu overflowing off screen.
Please update that CSS to this:
.home .x-navbar { position: absolute; width: 100%; top: 0; background-color: rgba(255, 255, 255,0.9); box-shadow: none; border-bottom: none; }Hope this helps.
August 27, 2016 at 11:21 am #1149755
yhshin1020ParticipantThis reply has been marked as private.August 27, 2016 at 11:22 am #1149756
yhshin1020ParticipantThis reply has been marked as private.August 27, 2016 at 11:24 am #1149758
yhshin1020Participantchanging the code to this:
@media (max-width: 979px) { .x-navbar { position:relative !important; } }Instead of position: static; fixed the problem.
August 27, 2016 at 6:29 pm #1149967
RadModeratorGlad to hear that! Thanks for sharing 😉
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1149632 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
