Archived topic
Featured image
16 replies · Started by Former User on August 20, 2019
Hi there,
How can the featured image be resized on all the pages when using the Catalyst theme? For example, the featured dimensions/size should be similar to the Peak theme (black/dark gray) background so that the logo appears above it as opposed to superimposed on it?
Hi there,
Have you tried the options in the customizer?
https://docs.generatepress.com/article/adjusting-the-featured-images/
Let me know :)
Hi Leo,
Yes, there doesn't appear to be the ability to change it. A screenshot of the settings can be seen at https://imgur.com/a/9NIawlq
Are you referring to these on the home page?
https://www.screencast.com/t/Bp0LkVzpv
Those are just static images inserted inside lightweight grid columns so the featured image controls won't work.
Let me know if I'm missing something.
Hi Leo,
No, I am referring to the featured/hero image - https://imgur.com/a/9NIawlq
That is a header element:
https://docs.generatepress.com/article/header-element-overview/
The size is controlled by padding:
https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-4-set-the-height
Thanks Leo. Is there any reason when editing the home page post, there is the ability to change the featured image but not any of the other attributes?
Sorry I'm a little confused.
The home page of Catalyst is just a static so none of the blog options should work?
Hi Leo,
The featured image option appears on the home page - https://imgur.com/a/wHbzDgb. It enables the ability to change the hero background image however none of the other attributes.
Just imported Catalyst to have a closer look.
The home page header element is using the fallback image option:
https://www.screencast.com/t/cT8ssJj0b
Which means that if you choose to upload a featured image on home page, it will replace the fallback image.
When header element is used, the size is controlled by the header element padding settings as mentioned above.
Maybe you are just looking for a static featured image which can be controlled by the customizer? If so you can remove the Home Header element.
Thanks Leo. What are the differences between the featured image on the home and the fallback image? For example, why would one use one over the other?
Hi there,
if you have a header element that is set to display for eg. All Pages and to use the Featured Image as its background, the Fallback Image can be selected to display on pages that do not have a featured image.
Thanks David.
To clarify, why would there be a need to select the fallback image if the featured image is configured under "Elements" and "Global Header"?
Hi David,
Would you be able to shed further light on the the need to select the fallback image if the featured image is configured under "Elements" and "Global Header"?
See this example header element:
https://docs.generatepress.com/article/page-hero-examples/#example-2
It uses the featured image background. Let's say i assign this to All Posts. Each of my posts will now display its featured image as the background. Which is great.
But, if one of my Authors creates a Post and omits the featured image then i am in trouble as the Header Element will still be displayed but with no background. Not going to look good with White Text on a White Background.
So this is where a Fallback images comes into play. By setting one it will display this image when my forgetful author doesn't add a featured image.