Site logo

Archived topic

Custom padding when turn on "navigation as header"

2 replies · Started by Tan on October 14, 2022

Viewing posts 1–3 of 3

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

Yeah. I try this code and it works:


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

Glad to hear you found a solution!!

This archived topic is closed to new replies.