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

    I’m trying to remove the spacing below the header section on my mobile view (see below), so that the image sits just below the client logon button.

    http://imgur.com/a/1yaVj http://imgur.com/a/E00BU

    Here’s the code I used to align and decrease space of the items in the header:

    /* move phone number widget */
    @media only screen and (max-width: 749px) {
    #header #text-15 {
    position: relative;
    padding-bottom: 0;
    top: -80px;
    left: 33%;
    }

    /* Move Client Login button in header */
    @media only screen and (max-width: 749px) {
    #header .avia-button-left {
    position: relative;
    padding-bottom: -80px;
    top: -100px;
    left: 33%;
    }
    }

    /* === MOVE ANNIVERSARY LOGO IN HEADER AREA === */
    @media only screen and (max-width: 749px) {
    #header #text-14 {
    position: relative;
    padding-bottom: 0;
    top: 0px;
    left: 20%;
    }
    }

    /* Change header in mobile */
    @media only screen and (max-width: 749px) {
    #header_meta {
    margin-top: -30px;
    }
    .logo img {
    margin: auto!important;
    }
    .logo {
    width: 100%!important;
    }
    #widget_sp_image-2 img{
    transform:translate(50%, 20px);
    }
    }

    /* Mobile Menu Positioning */
    #advanced_menu_toggle {
    right: -25px;
    top: 30px;
    }

    Thanks.

    #696616

    Hi amerisource!

    Can you please post the link to your website?

    Regards,
    Yigit

    #696619

    See below.

    #696628

    Hi!

    Please add following code to Quick CSS

    @media only screen and (max-width: 767px) {
    #header .inner-container {
        height: 300px;
    }}

    Regards,
    Yigit

    #696636

    Works good. Thank you!

    #696640

    Hey!

    You are welcome! Glad we could help, let us know if you have any other questions or issues and enjoy your weekend! :)

    Best regards,
    Yigit

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

The topic ‘Remove Spacing From Below Header on Mobile’ is closed to new replies.