How would I go about referencing the post featured image using inline css background?
Instead of having it as an image source like so...
<img src="{{ post.featured_images.first.getThumb(100, 'auto') }}" />
Have it as an inline style, which is what my theme calls for also not forcing it to be a thumbnail image.
<div class="post feature-post" style="background-image:url(../images/post/w1.jpg); background-size:cover;">
Thank you!
Last updated