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:
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025