Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Header with Navigation Does Not Stick While Viewing in a Phone

Home / Forums / Virtue Theme / Header with Navigation Does Not Stick While Viewing in a Phone

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 9, 2015 at 5:23 pm

I am trying to get the navigation to stick while in mobile view. I am not using a topbar and do not wish to. I have the header set under the home slider.

You can view my site here: http://www.wineyourwaytours.com

I have the mobile navigation set to the menu I wish to use. I also have sticky nav selected in the theme options. I have also tried the following css (but it still did not work):

#topbar {
position: fixed;
width: 100%;
top: 0;
z-index: 999;
}
.admin-bar #topbar {
top:28px;
}

Is there something I am missing or some code I can use to make the header bar remain sticky while in mobile view..

Thank you,
Elizabeth

  • The forum ‘Virtue Theme’ is closed to new topics and replies.