Sticky Menu for Tablets


#1

Hello,

is it possible to make the navigation sticky for smaller displays (tablets/ipad)? It works great on desktop.

Thanks


#2

Hello there,

You can try to apply custom css code below, use this plugin https://wordpress.org/plugins/simple-custom-css/:

@media screen and (max-width: 991px) {
    .top-bar {
        position: fixed !important;
    }
}

Please note that fixed positioning is not playing nice with some mobile devices, and it will not work on some devices. You can read more about this problem here http://bradfrost.com/blog/mobile/fixed-position/

All the Best!


#3

Hello!

Thanks a lot. It works great!


#4

You’re welcome,

Best Regards