the answer for all question about Oxygen Builder plugin and WordPress

Subject: Easy posts oxygen block templates

Subject: Easy posts oxygen block templates

I’m trying to change the default background image from easy posts block. I want it to have the thumbnail size or the medium size.

The template original code:

style=’background-image: url(<?php echo get_the_post_thumbnail_url(); ?>);’

However, I get the raw uploaded image in the output of this code and not the thumbnail which increases load time and overall page size.

How can I get the thumbnail size to be used? Tried to hack the code but no success. Anyone has a tip? Thanks!


Checkout Woo Design Set

Whistle Design Set

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection