[Support request] Mobile Header Button Location

Home Forums Support [Support request] Mobile Header Button Location

Home Forums Support Mobile Header Button Location

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1006140
    Yulia

    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

    #1006180
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .btn {
        order: 2;
        margin-left: auto;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.