New Shopify Certification now available: Liquid Storefronts for Theme Developers

How to Add Dividing Lines for mobile menu items?

Solved
kolomiets_t
Visitor
2 0 1

Hello everyone! I'm trying to customize my mobile view only and need to add Dividing Lines between menu items. Does anyone know how to do that? I'm using Sense theme.

Accepted Solution (1)
farantariq93
Pathfinder
101 17 22

This is an accepted solution.

Hi @kolomiets_t Do the following steps to resolve this issue.

1. Go to Online Store > Themes > Edit Code (Gear Box)
2. Find base.css or theme.css
3. Add below code at the end of the file.

@media only screen and (max-width: 480px){
.js .menu-drawer__menu li{
border-bottom: 1px solid #ccc;
}
}

 Hope, it will fix the problem.

If helpful then please Like and Accept Solution. Looking for bug fixing, website speed optimization or store maintenance , Hire me. Feel free to contact me in private message or on farantariq93@gmail.com.

View solution in original post

Replies 2 (2)
farantariq93
Pathfinder
101 17 22

This is an accepted solution.

Hi @kolomiets_t Do the following steps to resolve this issue.

1. Go to Online Store > Themes > Edit Code (Gear Box)
2. Find base.css or theme.css
3. Add below code at the end of the file.

@media only screen and (max-width: 480px){
.js .menu-drawer__menu li{
border-bottom: 1px solid #ccc;
}
}

 Hope, it will fix the problem.

If helpful then please Like and Accept Solution. Looking for bug fixing, website speed optimization or store maintenance , Hire me. Feel free to contact me in private message or on farantariq93@gmail.com.
kolomiets_t
Visitor
2 0 1

Hello, thanks! I played around with your suggestion and it worked:

 

@media only screen and (max-width: 480px) {
.list-menu__item {
border-bottom: 1px solid #ccc;
}
}