New Landing How can we help? Themeforest Theme Support Neighborhood Spacing around header, logo and nav on mobile.

Viewing 10 posts - 1 through 10 (of 10 total)
  • #196631
    MarieWorks
    Member
    Post count: 225

    Hi,

    I’m looking into changing the header spacing on mobile.

    I need to change the padding around the header container (with the logo and nav in it) to the settings as shown in the screen shot (padding left and right 0px / padding bottom 20px) couldnt find the class for the header container and not quite sure how to make this apply to mobile only…?

    Any help appreciated

    C

    Attachments:
    You must be logged in to view attached files.
    #196646
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    @media only screen and (max-width: 979px) {
    #header-section #header {
        padding: 15px 0px 0px;
    }
    }

    Thanks
    Mohammad

    #196663
    MarieWorks
    Member
    Post count: 225

    Hi Mohammad,

    thanks again for helping out!

    unfortunately that css doesnt seem to be working?

    any other ideas?

    thanks

    chris

    #196815
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Now try this custom css code:-

    @media only screen and (max-width: 979px) {
    #header-section #header {
        padding:0px !important;
    }
    }

    Thanks
    Mohammad

    #196821
    MarieWorks
    Member
    Post count: 225

    Hi mohammad,

    still not working im afraid

    #196823
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach marked screenshot to indicate the issue.
    Thanks
    Mohammad

    #196834
    MarieWorks
    Member
    Post count: 225

    we are trying to get the blue Reiko Kaneko logo and the page titles (like ‘shop’ shown) to be aligned, and then have equal spacing on the opposite site where the hamburger menu is. screen shot attached.

    Attachments:
    You must be logged in to view attached files.
    #196915
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove last css code and use this css code:-

    @media only screen and (max-width: 479px) {
    #logo a:first-child {max-width: 70%;margin-top: -15px;}
    #logo{margin:0px !important}
    #header > .container{padding:0px !important;}
    }

    Thanks
    Mohammad

    #196987
    MarieWorks
    Member
    Post count: 225

    HI Mohammad,

    Got the desired result with just a very small tweak

    @media only screen and (max-width: 979px) {
    #logo a:first-child {max-width: 70%;margin-top: -15px;}
    #logo{margin:20px !important}
    #header > .container{padding:0px !important;}
    }

    Thanks for your help 🙂

    Chris

    Attachments:
    You must be logged in to view attached files.
    #196990
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Mohammad.
    -Rui

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register