Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #834919

    Hey guys,

    Can you help me fix the header of my website on mobile? I want the width to be spaced correctly. So the my name/logo is closer to the left side, and the hamburger icon closer to the right.

    http://www.ccyran.com

    I put the custom CSS that I have on my site in the private content. I think the issue/fix could be there.

    Thanks!
    Chris

    #835201

    Hey ccyran,

    Could you post screenshots of what you are looking to achieve please? You can upload to a service like google drive or dropbox and then link to them here.

    Best regards,
    Rikard

    #835210

    Hey Rikard,

    Sure thing. Here’s a link: https://ibb.co/eh7dGa

    The header width currently looks too small. In my image on the right, thats how I want it to look.

    Thanks!

    #836689

    Hi Chris,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    @media only screen and (max-width:767px) {
      .responsive #top #wrap_all .container {
        width: 100%;
        max-width: 100%;
      }
    }

    Let us know if this helps :)

    Best regards,
    Nikko

    #836727

    That worked!

    Last request! Is there also CSS to center the header? Right now it’s not in the middle. When viewed on mobile

    Thanks :)

    • This reply was modified 7 years, 3 months ago by ccyran.
    #836764

    Hi,

    You can add this custom CSS code:

    
    @media only screen and (max-width:767px) {
      .responsive .logo img {
        margin-left: 40% !important;
      }
    }
    

    Best regards,
    John Torvik

    #836766

    Hey John!

    Sorry I meant centered vertically!

    #838412

    Hi Chris,

    Try adding this:

    @media only screen and (max-width:767px) {
      .responsive #top #wrap_all #header {
        padding-top: 0 !important;
      }
    }

    Hope this helps :)

    Best regards,
    Nikko

    #838456

    Perfect,

    thanks!

    #838573

    Hi Chris,

    Glad we could help. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Header on mobile’ is closed to new replies.