Hi,
I am using the MODE theme. I want to have more space between each subheading on the menu dropdown. I would also like to add a gray line in between them. Here is a picture of an example website that I would like to match. My store is https://olafilter.com
1 Like
Hi @tasmithola
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- 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:
div#NavigationTier2-3 li,
div#NavigationTier2-2 li,
div#NavigationTier2-1 li
{
padding: 10px 0px 10px 0px;
border-bottom: 1px solid gray;
}
1 Like
Hi @tasmithola ,
This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.
While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:
- Go to Online Store → Theme → Edit code
- Open your theme.liquid file
- Paste below code before :
Best regards,
Anthony
1 Like
Thank you so much!! Do you know how to remove the line under the last sub menu? So that it makes a line under each submenu item except the last one?
1 Like
Yes we can do that, try this one.
Same Instruction.
div#NavigationTier2-3 ul > li:nth-child(5),
div#NavigationTier2-2 ul > li:nth-child(2),
div#NavigationTier2-1 ul > li:nth-child(2) {
border: none;
}
And Save.
Result:
1 Like
Thanks! You’re the BEST!
I noticed that this change only affects the desktop menu. How do I change this for the mobile menu too?