Archived topic
Page and post headers
3 replies · Started by Daniel on July 31, 2015
Hello Tom! I started using GP yesterday and it's awesome. Like fresh air. Thank you so much!
But still I have one disappointing problem. In your video about Page Header Add-on those page header images appear just above content column or content "tile" without any padding - both on post pages and on masonry blog page. I found this https://generatepress.com/forums/topic/page-header-image-delete-padding/ thread, but such solution doesn't seem to be flexible..(
I aslo tried to understand how it is done in the Exhibit theme, but I didn't manage. Moreover, even with all Exhibit code there is a white line above header images, while in your video there isn't..
Is there some not-very-complicated way to integrate this feature into my child theme and make it look nice and clean without manualy ajusting all the margins?
Hi Daniel,
I'd like to integrate this straight into the theme.
For now, this solution is pretty simple - just add it and forget about it: https://gist.github.com/generatepress/b252781fe296fe698b9e
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Let me know how that works out :)
Thank you, Tom!
It works really well=)
No problem! :)
