Site logo

Archived topic

Content template background based on existence of featured image

3 replies · Started by Thomas on January 27, 2023

Viewing posts 1–4 of 4

Hi there,

On my blog page I’d like the first post to use the post title on top of the featured image as background image. That’s easy with a GP element type content template.

Not all my posts have featured images though. In that case I’d like to use a default image instead as background for the title of the first post.

What’s the most efficient way to do that with GP (content template background image depending on if featured image exists)?

Best,
Thomas

That's what I was looking for - thanks!

No problem :)

This archived topic is closed to new replies.