Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'm looking at adding a divider line to my menu but can't seem to work out how to do it. Any ideas of what code I would need? ideally a feint line and more padding after "3 for £20" but before "Magazines" a bit like I've illustrated.
Solved! Go to the solution
This is an accepted solution.
Please add this code at the bottom of your base.css fi
#HeaderMenu-library-magazines:before {
content: '';
background: #000;
height: 2px;
width: 80px;
margin-left: -8px;
position: absolute;
top: 0px;
}
#HeaderMenu-library-magazines {
position: relative;
margin-top: 12px;
}
le in Online store > Themes > Edit code
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @Richey
Drop your store link please
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @Richey
Dod you wan to add diver just in that menu?
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
yes just that one, please.
This is an accepted solution.
Please add this code at the bottom of your base.css fi
#HeaderMenu-library-magazines:before {
content: '';
background: #000;
height: 2px;
width: 80px;
margin-left: -8px;
position: absolute;
top: 0px;
}
#HeaderMenu-library-magazines {
position: relative;
margin-top: 12px;
}
le in Online store > Themes > Edit code
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Very good. With a little tweaking of the height and margins I've made it spot on! Thank you so much. Really, really appreciate it.
Hello,
how would I do it if the title in the dropdown menu has a space? I'd like to add a divider between "Zeolites" and "Algerian minerals". I tried it out but I'm not sure how to handle the space in "Algerian minerals".
Theme Dawn
https://58065e-5d.myshopify.com
Cheers Holger