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

Sticky Menu no longer sticky after Gutenberg

Home / Forums / Membership Forums / Sticky Menu no longer sticky after Gutenberg

This topic is: Resolved
[Resolved]
March 12, 2019 at 3:57 pm

What do you think is going on here? Here’s the code you gave me a long time ago to use for creating the sticky menu. I put it in footer column 4.

<script type=”text/javascript”>
jQuery(document).ready(function ($) {
var topOffest = $(‘body’).hasClass(‘admin-bar’) ? 32 : 0;
$(‘.navclass’).sticky({topSpacing:topOffest});});
</script>

Here’s another code you gave me related to nav bar. In answering this question: “How do I reduce space between menu nav links so all are on one line. And adding gold line on top and bottom of menu bar. Also can it remain one line even if someone increases screen size on monitor?”
placed in Adv Setting Custom CSS box
#nav-second ul.sf-menu>li {
width: 8.75%;
}
.navclass {
background: #000000;
border-top: 5px solid #eea91f;
border-bottom: 5px solid #eea91f;
}

  • The forum ‘Membership Forums’ is closed to new topics and replies.