In the members-only forum a user asked:
I’m hoping to the featured image show up full width, with the page title overlayed but in Landing pages ONLY. I found this tutorial (https://sridharkatakam.com/display-page-title-full-width-featured-image-genesis/) but this one is for *all* pages and I need this on landing pages only. I’ve got it *almost* working expect I can’t get it to actually pull the featured image.
Thank you so much!
This tutorial provides the code to
- reposition entry header from its default location to below site header
- set featured image as the URL of entry header using
- display page title centered on top of color tinted background featured image
for Pages that use Landing page template having a featured image in Genesis.
While the tutorial has been written for Genesis Sample child theme it should work with minor adjustments in any Genesis child theme.
Add the following in child theme's functions.php:
Add the following before closing genesis(); near the end:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.