Shopify themes, liquid, logos, and UX
Hi,
I'm using the simple theme and I'd like to add some space to only 1 element of the menu. Here at the top of "newsletter". Can anyone help me with what code to add or adjust?
My url https://juju90.myshopify.com/ and password rtohnu
Thank you for your help !
Solved! Go to the solution
This is an accepted solution.
Hello @vroomvroom
Just add below CSS
#SiteNav ul li:nth-child(2) {
padding-top: 20px;
}
Thanks
This is an accepted solution.
Hello @vroomvroom
Just add below CSS
#SiteNav ul li:nth-child(2) {
padding-top: 20px;
}
Thanks
It works on mobile also. Didn't?
Yes sorry it works on mobile !
And it works on the submenu as well... how can i make it work only on the main items ?
Thanks again
What do you mean by main items?
There is space between "femme" and "homme" as weel.
Hii, @vroomvroom
Can you give me a screenshot what you want so,
I can solve it perfectly.
Thank You.
This is what it looks like now :
And i would like to not apply the padding to the sub menu link :
I hope it's clear 🙂
Thanks again for your help !
User | RANK |
---|---|
236 | |
161 | |
60 | |
55 | |
46 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023