Site logo

Archived topic

Site Title not centered when Header widget populated

8 replies · Started by Lyle on October 30, 2017

Viewing posts 1–9 of 9

I came across this behavior when assisting someone on the GP FB group.

The OP wanted to add an email address to the upper right of the header that has the Header Alignment set to Centered. No problem. Add an HTML widget with the link to the Header widget position.

However doing so shifts the Site Title to the left. I tried setting the .header-widget max-width to a lower value and it helped, but still not completely centered.

Cheers!
Lyle

Thanks Leo :)

I'm with Tom on absolute positioning so will give the split header method a go :)

Cheers!
Lyle

One day maybe we'll make the switch to Flexbox in the header. It would help with stuff like this, but currently requires a bunch of pollyfils for older browsers.

That would be great, Tom :)

My "vision" for the "ultimate GP header" would have it structured like the footer widgets, where on can select how many "header widgets" one wants. There would then need to be three new widgets: GP site logo, GP site title and GP site description, all pulling from the info set up in the Customizer :) Drag them to the desired header widget locations, along with any other widgets that fits your fancy.

I know you are loath to code bloat, but I can always dream! :) And no need to build the header with a page builder!

Definitely an interesting idea. The hard part is making it backward compatible with the 90,000+ people using the standard GP header ;)

Perhaps in a new Premium GP child theme? ;) I'd pay for that!

Hi Tom/Leo,
How to insert widget and secondary menu to the right part after splitting the header?

Thanks

Hi,
I've found it on the post, thanks.

This archived topic is closed to new replies.