Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2025

Templates for Joomla! 5.x • Re: Issues with Menu overlap in Mobile/Tablet Viewport

$
0
0
Okay, I believe this may get you back on track...

Make the menu use the full width

Code:

.navbar {  flex-basis: 100%;}
To display the submenu correctly below the parent menu-item on all screens.
The submenu is positioned absolute, so add a left and right position.
Note: In your user.css, on line 551, you have already declared right:0; for these selectors. I don't know why or what effect these changes may have for your design.

Code:

.metismenu.mod-menu .metismenu-item > ul,.container-header .metismenu > li > a:hover::after {  right: 0;  left: 0;}
Bonus: Unset the right position on bigger screens

Code:

@media (min-width: 700px) {  .metismenu.mod-menu .metismenu-item > ul,  .container-header .metismenu > li > a:hover::after {    right: initial;  }}

Statistics: Posted by Mr. Wimpy — Fri Nov 29, 2024 10:47 am



Viewing all articles
Browse latest Browse all 2025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>