Site logo

Archived topic

Positioning of the secondary menu (flexbox)

4 replies · Started by Gelu-Dănuț on January 22, 2022

Viewing posts 1–5 of 5

I'm sorry for my English, I use Google translate.
For the website https://www.facemcuratenie.ro (with flexbox) I want to position the items in the secondary menu as follows: on the left the Facebook and e-mail buttons, and on the right the phone and WhatsApp buttons.
Can I give up flexboxing and return to floating?

Hi there,

try adding this CSS:

.secondary-navigation .main-nav,
.secondary-navigation .main-nav>ul {
    width: 100%;
}
.secondary-navigation .main-nav>ul li:nth-child(2) {
    margin-right: auto;
}

Thank you! Are you a magician? :)
And i hate flexbox and new GeneratePress tipografy settings, I'm so stupid and I can't handle them easily now, before that it was easier. :)

Flex does take a little learning. Happy to be of help!

Thank you!

This archived topic is closed to new replies.