Space menu

Posted in: Newspaper
Post count: 53

i added this css to have all menu on a single row
.sf-menu a.sf-with-ul {
padding-right: 20px;
min-width: 1px;
}

when i put it on css custom
i have this
https://d.pr/FREE/6SzNF5
but…
if i leave only
.sf-menu .sf-with-ul {
padding-right: 20px;
min-width: 1px;
}
it doesnt work)

Post count: 22421

Hello,

You can use the code that works and ignore the suggestion or add another class to your code so it becomes more specific.

Thank you!

Post count: 53

which class?

Post count: 22421

Try to add it like so:

.menu-td-demo-header-menu-container .sf-menu .sf-with-ul {
padding-right: 20px;
min-width: 1px;
}

Css needs some very specific selectors in some cases 🙂

Thank you!

Post count: 53

perfect, thank you

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.