Site logo

Archived topic

Trouble finding padding settings for .page-header

3 replies · Started by Dave Foy on January 6, 2017

Viewing posts 1–4 of 4

Hi - I'm trying to change the padding on the .page-header element on the archive template. Specifically, it's the .page-header element that's generated in the generate_archive_title() function.

I can see that in <style> in the head, padding is set to 20px 20px 20px 20px, via this rule:

.separate-containers .page-header {20px 20px 20px 20px}

The fact that it's in <style> leads me to believe it must be a Customiser setting.

Problem is, I can't find where the setting is. In Customiser > Layout > Page Header, there are no padding controls.

Sure I can just use CSS to override it manually. But I'd like to use Customiser if the setting is there.

Thanks for your help.

Hi Dave,

This area inherits your content padding setting so everything is uniform.

You can adjust it using custom CSS though:

.separate-containers .page-header {
    padding: 20px;
}

Great. Good to know, thank you.

You're welcome :)

This archived topic is closed to new replies.