[Support request] Position of the mobile menu label

Home Forums Support [Support request] Position of the mobile menu label

Home Forums Support Position of the mobile menu label

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1882362
    Pieter

    Hi there,

    By default the label for the mobile menu comes right after the hamburger icon. How do I place the label left of the icon?

    I tried:

    
    .menu-toggle {
     display: flex;
     align-items: center;
    }
    
    .gp-icon {
     order: 1;
    }
    

    But it doesn’t nicely center the label and icon vertically.

    #1882435
    David
    Staff
    Customer Support

    Hi there,

    that should work fine, can you share a link to site so i can see the issue?

    #1883208
    Pieter

    The site is local for now unfortunately.

    This is what I achieved: https://snipboard.io/pW1zPX.jpg
    There is some space above the svg’s inside the span that I cannot get rid of: https://snipboard.io/Yz1noE.jpg

    #1883394
    David
    Staff
    Customer Support

    Can you inspect the text element as well so i can see if that has any margins attached to it?

    #1883513
    Pieter

    There’s no extra space around the text element. I solved it like this:

    
    .gp-icon {
    position: relative;
    top: -2px;
    order: 1;
    }
    

    Thanks for your help!

    #1883776
    David
    Staff
    Customer Support

    Glad to hear that

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