Skip to Content
Home › Forums › Latest release › 1.1.x › Smartmenus with "Navbar fixed top"
how can i do this with SmartMenus ?
You mean this?
The sample code is displayed on the demo page, you could also look in its source..
i mean smartmenu not the addon. i don’t find an example in the gallery with “Navbar fixed top”
You can try to add a class to <nav role=navigation and the try to style it like at W3C
or use a js like https://github.com/MonikaManduk/Responsive-nav-fixed-top (there are also others) – i have not tested the evtl. upcoming or remaining problems (evtl. overflow hidden for the content etc.).
Try adding this under @media for mobile device.
I notice that when, on mobile devices, it loses the scroll bar. I mean, when I set
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-primary">
it doesn’t show scroll bar to the right on mobile devices.
You’ve been doing an excellent job. Congrats.
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!