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

    I want my logo to shrink and center when accessing my page on mobile devices? How can I achieve this?

    • This topic was modified 9 years, 10 months ago by crewneck.
    #384396

    Hi crewneck!

    Please add following code to Quick CSS

    .responsive .logo {
    left: 35%!important;
    position: relative;
    }
    @media only screen and (max-width: 480px) {
    .responsive .logo {
    left: 25%!important;
    position: relative;
    }}

    Regards,
    Yigit

    #384583
    This reply has been marked as private.
    #384852

    Hi!

    The logo is currently situated on the left. Where do you want to position the menu when you center align the logo? Have you tried using the Logo center, Menu below option on Enfold > Header > Menu and Logo Position settings?

    Cheers!
    Ismael

    #385012

    As far on the right as possible.

    #385397

    Hey!

    Alright. Go to Enfold > Header > Header Behavior then enable the Let logo and menu position adapt to browser window. Add this on Quick CSS:

    div .logo {
    float: none;
    position: absolute;
    z-index: 1;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    }

    Cheers!
    Ismael

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