Archived topic
to find the correct selector
3 replies · Started by Heinrich on December 15, 2022
hi team, i am struggling to find the correct selectors in my main-menu (left sidebar)
1. in main-menu i want to change the font-weight for some menu-items. gave them a class: menu-bold, but
any css i try to add doesn`t work
but for menu-bold:hover i want an underline, this is working fine. what i am missing?
2. i created a menu item with html <hr>. i want to reduce the margin-top and bottom, but cannot find the correct selector either.
tks for help
Hi Heinrich,
1. Can you try this instead?:
.menu-bold a {
font-weight: 800;
}
2. Try this instead:
.hr a hr {
margin-top: 20px;
margin-bottom: 20px;
}
Let us know how it goes.
is working perfect, tks.
You're welcome, Heinrich!