Re: Menu item

Solved

How can I align my main menu item properly?

basicbastardco
Pathfinder
171 1 31

Hi Guys, 

 

The main menu item is not equally lined. Please see the screenshot. Any suggestion or code on how to fix it? 

 

Url: http://basicbastard.co/

 

Screenshot 2022-11-23 at 8.04.21 PM.png

Liaz
Accepted Solution (1)
RomanG
Shopify Partner
33 9 12

This is an accepted solution.

 

.header__menu-item > a {
   line-height: 1;
}


Please add this css into the assets/base.css 

Best regards,
Roman

If you find my reply helpful, please hit Like and Mark as Solution

Github
Stack Overflow

View solution in original post

Replies 3 (3)

RomanG
Shopify Partner
33 9 12

Hi @basicbastardco 

To fix your issue, please add line-height: 1 css property into this element like screenshot

RomanG_0-1669235245772.png

 

If you find my reply helpful, please hit Like and Mark as Solution

Github
Stack Overflow
basicbastardco
Pathfinder
171 1 31

It doesn’t work. Could you please send me the code? I might be putting the wrong code. Thanks 

Liaz
RomanG
Shopify Partner
33 9 12

This is an accepted solution.

 

.header__menu-item > a {
   line-height: 1;
}


Please add this css into the assets/base.css 

Best regards,
Roman

If you find my reply helpful, please hit Like and Mark as Solution

Github
Stack Overflow