Need help creating a Menu anchor on our website

Topic summary

Goal: make the “SHOP MORE PRODUCTS” menu stay fixed at the top while scrolling on the homepage and collection pages of a Shopify store (ShopRevive.us).

Context: The poster has limited HTML knowledge and provided two images showing the current menu bar and the desired anchored position.

Solution provided (desktop): In Shopify Admin, go to Online Store > Themes > Actions > Edit code. Open Assets > theme.scss.css and add:
.header-bar { position: fixed; width: 100%; z-index: 1; }
This makes the header element fixed at the top, full-width, and layered above other content.

Outcome: The poster confirmed it works after some adjustments. No additional changes or alternatives were discussed.

Status: Resolved. No outstanding questions.

Notes: Images were central to illustrating the desired menu placement, but the implementation centered on a simple CSS fix.

Summarized with AI on January 31. AI used: gpt-5.

I want the “SHOP MORE PRODUCTS” menu to anchor at the top of the screen as the customer scrolls down, on the homepage and on Collection pages. I have attached photos showing my menu bar, and a second picture showing where I want to see it as I scroll down. For reference the website is ShopRevive.us

I know very little about HTML so please be as specific as possible with your answers.

@ShopRevive

To make menu anchor on top of desktop follow this steps:

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.scss.css and paste this at the bottom of the file:
.header-bar{
 position: fixed;
 width: 100%;
 z-index: 1;
}

Hope this works well.

1 Like

After some adjusting, it works great. Thank you.


:slightly_smiling_face: