Featured Image on a Column/Row Background

I’m trying to use a post’s featured image for a column/row background in the post. This would definitely speed things up and automate more with the combination of global blocks. I created a shortcode for this in order for it to return the actual image URL and not the ID. I realized soon enough that the custom element CSS won’t accept shortcode (i.e, I tried doing background-image:url([shortcode]).

Is this possible?

Hello @KremeChoco,

Thanks for posting in! You do not need a shortcode or any code to display a featured image as a column or section background image. Simply use the Dynamic Content feature in the background image selector instead:

Dynamic Content Icon:
UHaw3ewvQeiDvqOsQeWmIg

Dynamic Content Selector:
HN5lHCv9Rta2TLY9kByGvg

For more details about the Dynamic Content feature in the theme, kindly check this out:

Best Regards.

I completely forgot about this. Thanks so much!

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.