[Resolved] Custom padding when turn on “navigation as header”

Home Forums Support [Resolved] Custom padding when turn on “navigation as header”

Home Forums Support Custom padding when turn on “navigation as header”

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2373292
    Tan

    Hi there,
    I want to set padding left and right of header to 0px. I use this CSS:

    
    @media (min-width: 769px) {
        #site-navigation .inside-navigation {
          padding-left: 0px !important;
          padding-right: 0px;
        }
    }
    

    But only the right padding works. Please help me fix it.

    Thank you

    #2373370
    Tan

    Yeah. I try this code and it works:

    
    @media (min-width: 769px) {
        .main-navigation .inside-navigation {
            padding: 0px !important;
        }
    }
    
    #2373424
    David
    Staff
    Customer Support

    Glad to hear you found a solution!!

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