Site logo

Archived topic

Page Headers - content width background image, full width container

3 replies · Started by nszumowski on April 16, 2018

Viewing posts 1–4 of 4

Hey Folks,
Ideally I'd like the background image on the attached link to be the content width as currently set, however I'd like the container to be full width so I can color the background.

Which template file has the page header so I can pull it into my child theme and wrap it with another div? Or if you have another suggestion please let me know, thank you!

Hi there,

Not quite sure if I understand what you are looking to achieve.

Currently although it set to contained but it is almost full width.

Where are you wanting the background color?

Any examples you can show me?

Let me know :)

I'm all set, I added an extra div wrapper at line 96 in /gp-premium/page-header/functions/page-header.php to keep the container with background image "contained" width and the new wrapper full width so I could style it.

However, is there a way to make a child template for GPP so my changes aren't overwritten in the next update?

That's likely not the best way.

I think you can achieve that by just adding a same div inside page header content - it accepts any HTML.

Let me know if that helps.

This archived topic is closed to new replies.