[Resolved] Make element center the mobile header

Home Forums Support [Resolved] Make element center the mobile header

Home Forums Support Make element center the mobile header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2274470
    Anders Nielsen

    How can I an element center the mobile header, it’s constanly floating to the right.

    Link in private section

    This is my site: Angst.dk

    #2274486
    Fernando
    Customer Support

    Hi Anders,

    Can you try this CSS?:

    @media (max-width: 768px) {
        #mobile-header .menu-bar-items {
            display: none;
        }
    
        #mobile-header .site-logo.mobile-header-logo {
            margin-right: unset;
        }
    }

    This code removes the margin-right of the logo on mobile, and sets the menu bar items to display:none.

    Kindly let us know how it goes.

    #2274487
    Anders Nielsen

    Thanks, it works

    This is my site: Angst.dk

    #2274488
    Fernando
    Customer Support

    You’re welcome Anders!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.