[Resolved] How can i Move my logo in header to center in mobile

Home Forums Support [Resolved] How can i Move my logo in header to center in mobile

Home Forums Support How can i Move my logo in header to center in mobile

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1130445
    eden

    Hello i have a problem in my site edensharabi.co.il

    I am trying to move the logo to the center in the mobile version and also move the menu icon to the right

    #1130446
    eden

    Also i am trying to change the menu to be open from right side how can i do this?

    #1130694
    eden

    Also i want to add my phone number to the header in desktop and mobile how can i do it?

    I dont know how to put elements and stuff

    #1130778
    eden

    ok I have managed to put my phone number but I need CSS for styling it

    In mobile:

    I want phone number to be to the left and white color, also to resize the phone icon.
    the logo should be centered, and to the right put the menu icon with the 3 dashes.

    In desktop:
    Move the phone number to the left,make the phone number white color,and also the phone icon resize and move to the left

    #1130807
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Did you end up using Elements to add the phone number + icon? If so, can you wrap them in a wrapper?

    For example:

    <div class="header-phone">
        Your existing HTML here.
    </div>

    Be sure to do that for the desktop and mobile Elements.

    Then, try this CSS:

    .header-phone {
        display: flex;
        align-items: center;
        order: 20;
        margin-right: auto;
    }
    
    .header-phone img {
        max-width: 30px;
    }
    
    .header-phone a {
        color: #fff;
    }
    
    .nav-aligned-left .main-navigation.has-branding:not(.slideout-navigation) .inside-navigation .main-nav {
        margin-left: 0;
        margin-right: 0;
        flex-grow: 0;
    }
    
    #mobile-header .site-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    #mobile-header .header-phone {
        order: 4;
        margin-left: 20px;
    }
    
    #mobile-header .header-phone a {
        font-size: 12px;
    }
    
    #mobile-header .header-phone img {
        max-width: 20px;
        padding-right: 5px;
    }
    #1130838
    eden

    Ok there were some changes but still need fixes with the following:

    In Desktop:
    The logo has moved to the center and i need it to the right as it were before,
    Also The phone number color should be changed to white plz.

    In mobile:
    Nothing has been fixed except for the phone icon that was resized properly.
    I need my logo to be centered there,
    the menu dashes to be to the right,
    and the phone number to the left.

    Thank you

    #1131192
    Tom
    Lead Developer
    Lead Developer
    #1131328
    eden

    No i dont know how to code,
    Do you want maybe admin access to solve these issues for me?

    Plz let me know if yes where to send the details

    #1131331
    eden

    Oh wait I am sorry most of it has been fixed,
    The problems left for me are in the mobile version:

    The places are aligned correctly, But as you can see in this link https://edensharabi.co.il/wp-content/uploads/2020/01/IMG_9940.jpg the phone number is too big so it need to be smaller for mobile.

    Also I would like to change the menu to be open from right side and not like this https://edensharabi.co.il/wp-content/uploads/2020/01/IMG_9941-473×1024.jpg

    thank you

    #1131340
    eden

    Also If you can add a little bit of space between the phone icon to the phone number that will be great (In both mobile and desktop)

    #1131888
    Tom
    Lead Developer
    Lead Developer
    #1132206
    eden

    Now everything is aligned correctly I only have one last request:

    In mobile i want to change the design of the menu to be open from the right how can i do it?

    #1132207
    eden

    like this menu for example https://imgur.com/a/rI33r0q

    #1132219
    Leo
    Staff
    Customer Support
    #1132253
    eden

    ok I have managed to make the menu slide from the right but i need help with some fixes https://imgur.com/a/mQcIHm7

    First I have hebrew language so i need to align the words to the right,
    Second I would like to make the opened menu to be smaller (so it will not cover the most of the screen when it open),
    And last I would like to add a divider between each link in the menu.

    Can you help me with it ?

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