Header Menu Issues ( Shopify Dawn Theme )

Hello Everyone!

I am using the Shopify Dawn Theme. How can I add a line to the header menu? I want to keep it exactly like the image below. Please help me. Thank you in advance.

https://blue-chic-clothes.myshopify.com
Password: Admin

Screenshot 2024-11-11 234620.png

1 Like

Hi @dreamtechzone_5

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
ul.list-menu.list-menu--inline li:not(:last-child) {
    border-right: 1px solid black;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

Thank you. It worked but I don’t want to put lines in subcategories.

Oh my bad, replace on this one.

a#HeaderMenu-home, .list-menu__item:not(:last-child) {
    border-right: 1px solid black;
}

And Save.

Same Instruction.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

When I change the menu, the line is just before and after “shop”.

I’m sorry, the code I provided is based on the current design you have in your store. If you’re not final with your design, you can add it later. To have dynamic designs and make any future changes you want, you would need to hire a developer. For this design, you can add the first code I provided since you don’t have a drop down.

1 Like

Thank you very much. I would like to keep this design. please help me. I want to put the line in the menu like the below image. I want to add a line after the contact us. Don’t worry. I will accept all of your solutions now. Thank you sir.