Archived topic
line-height sidebar menu
5 replies · Started by Kévin on March 11, 2020
Hello,
I'm trying to change the line-height of my sidebar sub-menu. I succeed to change it, but the lines who is to long are written on themselves. Maybe, i did wrong on CSS code.
Do you know how to fix it ?
Thank you.
Kévin Didot
Hi there,
its because of this CSS:
#menu-menu li li a {
line-height: 1px !important;
}
Change the line-height to a greater value or at least 1em to solve the problem
Hey David,
Thank's ! Yeah it's better.
In fact, I try to bring closer the sub-menu's items
Trodat Professional
Trodat Printy
Tampons Trodat prédéfinis (formules de bureau et comptabilité)
Tampons bois
Trodat Classic
Tampons spéciaux
I don't know how to.
You can adjust the top and bottom padding with this CSS:
.secondary-navigation .main-nav ul ul li a {
padding-top: 4px !important;
padding-bottom: 4px !important;
}
Really thank you dude !
It helped a lot.
Kévin
You're welcome