Border shows double

Solved

Border shows double

TrendBlend
Trailblazer
315 0 33

Hello, I’m trying to display my menu items with a border around them.

IMG_3834.jpeg

But there is a bit of space in between the borders but I want them to collide instead of the space in between FOR PHONE.

URL: https://interiorglows.com at the menu

Current code: 

@media (max-width: 768px) {
.list-menu__item {
border: 1px dotted #374049;

}

}

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9884 2354 2951

This is an accepted solution.

Hi @TrendBlend 

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:

 

@media (max-width: 768px) {
.menu-drawer__menu .list-menu__item {
border-top: 1px dotted #374049;

}
.menu-drawer__menu li:nth-child(5), .menu-drawer__menu li:nth-child(8), 
a#HeaderDrawer-lighting-lamps-outdoor-lighting{
    border-bottom: 1px dotted #374049;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1737931654562.png

     

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
9884 2354 2951

This is an accepted solution.

Hi @TrendBlend 

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:

 

@media (max-width: 768px) {
.menu-drawer__menu .list-menu__item {
border-top: 1px dotted #374049;

}
.menu-drawer__menu li:nth-child(5), .menu-drawer__menu li:nth-child(8), 
a#HeaderDrawer-lighting-lamps-outdoor-lighting{
    border-bottom: 1px dotted #374049;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1737931654562.png

     

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
TrendBlend
Trailblazer
315 0 33

That works, thanks!