Site logo

Archived topic

Padding over header

4 replies · Started by Oleg on January 7, 2016

Viewing posts 1–5 of 5

Hello!
Tell me, what CSS is needed to make the indentation, as in the screenshot? I also want to specify the height of the indentation in pixels.
1

You can try this:

.site-header {
    margin-top: 40px;
}

mental support))))))

Tom, I need this to work only on the desktop version, but not for mobile.

This should do it:

@media (min-width: 769px) {
    .site-header {
        margin-top: 40px;
    }
}
This archived topic is closed to new replies.