Main menu & Product page

Topic summary

A user seeks CSS customization help for their Shopify store using the Stiletto theme. They have two main requests:

Menu Divider Color:

  • Want to change the divider under the main menu to color #B1987C
  • Solution provided: Add specific CSS code to the theme.css file
  • Successfully implemented

Full-Width Submenu:

  • Want the collection submenu to display full-width instead of appearing in the top-left corner
  • Initial CSS solution attempted but didn’t achieve desired layout
  • Recommended to use a mega menu feature (with tutorial link provided)
  • User tried mega menu with the provided code, resulting in improved but not perfect layout

Product Page Layout:

  • Want to remove spacing between product image and adjacent image (next to NOTES section)
  • Goal is to make edges of both images align together
  • This request appears unresolved

Current Status:
The discussion remains ongoing. The user has implemented mega menu functionality and is asking about next steps to finalize the submenu positioning.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hello,

Link: shifabynajla.myshopify.com

Password: shifabynajla

The theme is stiletto.

I want the divider under the main menu to be in a different color #B1987C. Please find attached.

Also, the sub menu of collection should be full width. How can I do it?

Also, how can I make the layout of the product page similar to the one below. Currently, in the product page, there are spaces between the product image and the image next to NOTES, I want to make the edges of both images together as in the attached.

Kindly note that these changes require coding, I tried in the customization theme but it didn’t work.

Thank you.

Hi @joysa ,

Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:

.header__inner {
    box-shadow: 0 calc(var(--divider-width)* -1) 0 #B1987C inset;
}
1 Like

Thank you so much, it worked!

1 Like

@joysa ,

Step 1: Go to Admin → Online store → Theme > Edit code

Step 2: Search for the file theme.liquid

Step 3: Add this code before tag


Result:

Thank you, it worked but with a little twist, I need the submenu to appear under the main menu title instead of on the top left.

@joysa , I think you should use a mega menu. The reference site is also using a mega menu. This is the tutorial for you: https://www.youtube.com/watch?v=458fPX8buBo

It didn’t work unfortunately. I tried the customization already but no results

@joysa , did you try using mega menu? I mean using mega menu first and i will help you with center them.

Hi @joysa ,

If you have any questions, you can contact me directly.
Nice to meet you :blush:

Now I am using mega menu plus added your code in theme.liquid. This is what I got.

when I added the code in theme.css instead of theme.liquid, and didn’t enable the mega menu yet. It was better.

what is the next step?