All things Shopify and commerce
I changed my navigation menu to an image-based one provided by an app (Mega Highlights Menu). Neither that section, announcement, heading, or breadcrumb navigation are sticky at the top of the page.
My site is: https://www.kettlecoffee.storesuccessful
What do I need to do to make these sections sticky?
Thank you for your help.
Hello @kettlecoffee
Option 1: Using Custom CSS
This method involves adding custom CSS code to your theme. It offers more control over the styling of the sticky element.
.sticky-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 10; /* Make sure the element is on top of other content */ background-color: #fff; /* Change background color as needed */ padding: 10px; /* Adjust padding as needed */ }
Option 2: Using a Third-Party App
There are Shopify apps available that can add sticky navigation functionality without editing code directly. Here are a couple of options:
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025