[Resolved] Centered nav logo not in the middle on tablet and mobile

Home Forums Support [Resolved] Centered nav logo not in the middle on tablet and mobile

Home Forums Support Centered nav logo not in the middle on tablet and mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1572923
    Ireneusz

    Hi guys,

    I used your CSS to create a navigation with a logo in the center. For some reason, on tablet and mobile it is not centered, but shifted right couple of px, and I don’t know how to make it even.

    Thank you for your help!

    #1573102
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS to remove the default left margin on the logo:

    #mobile-header .site-logo.mobile-header-logo {
        margin-left: 0;
    }
    #1573211
    Ireneusz

    Perfect, thank you once again, David!

    #1573571
    David
    Staff
    Customer Support

    You’re welcome

    #1574493
    Ireneusz

    Hi again,

    Is there the default left margin on web? How could I change it?

    Thank you!

    #1574527
    David
    Staff
    Customer Support

    No – theres no additional margin on the desktop version.

    #1574543
    Ireneusz

    Ok, thank you David!

    #1575031
    David
    Staff
    Customer Support

    You’re welcome

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