Site logo

Archived topic

Mobile Header Button Location

1 reply · Started by Yulia on September 10, 2019

Viewing posts 1–2 of 2

Hi, I got the same task as here: https://generatepress.com/forums/topic/placing-a-button-in-mobile-header/
The same required location as in the screenshot. After successful implementation of Tom's code I've got the right sequence of elements, but the final display is wrong. The logo centered, button at the first place and the menu at the left instead of right, so it's all messed. Could you please check and tell me what should I add in styles to make it work? Thanks

Hi there,

Try this CSS:

.btn {
    order: 2;
    margin-left: auto;
}
This archived topic is closed to new replies.