[Resolved] Mobile Menu Padding

Home Forums Support [Resolved] Mobile Menu Padding

Home Forums Support Mobile Menu Padding

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #321349
    Chris

    Almost done with the header and navigation.

    I just need to figure out how to get that header size reduced on the mobile size.

    .main-navigation {
        padding-top: 50px;
    }
    @media (max-width: 768px) {
        .main-navigation {}
            padding-top: 0px !important;
            background-color: #FFFFFF;
        }
    }

    For some reason, this is no longer working.
    Thanks!
    CDS

    #321353
    Leo
    Staff
    Customer Support

    Hi there,

    The bracket is closed before the CSS: .main-navigation {}

    #321427
    Chris

    All better. I’m on a roll today!

    #321488
    Leo
    Staff
    Customer Support

    Awesome!

    This site is useful if you are interested: https://jigsaw.w3.org/css-validator/#validate_by_input

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