Site logo

Archived topic

Adjust Margin Above Page Title

5 replies · Started by Andres on July 28, 2020

Viewing posts 1–6 of 6

Hello again,

How can I add more space above the title on pages? The settings in Customizer are global, and I needed it on just pages, please.

I've provided a URL for a page for reference. I would like to increase the space above the title and below grey are the nav bar is in.

Many thanks. You guys are the best.

Have a good day.

Cheers!

Andrés

Hi there,

Try this CSS:

.page header.entry-header {
    padding-top: 20px;
}

Hello Leo,

Thank you!

What do I need to add to that CSS to make it specific to mobile? At present, it affects both desktop and mobile, and the padding that looks good on desktop, is too much for mobile.

Have a good day.

Cheers!

Andrés

Try this:

@media (max-width: 768px) {
    .page header.entry-header {
        padding-top: 20px;
    }
}

Hello Leo,

Thank you very much!

Have a good one.

Andrés

No problem :)

This archived topic is closed to new replies.