Multiple instances of Featured Image Thumbnail As A Background On Homepage
Solution was to remove the style tag and and write the background styling right into the .featured_box div. Thank you to @ckhicks on Twitter for the solution, and thank you everyone else for trying to help out too <3 <?php $background = wp_get_attachment_image_src( get_post_thumbnail_id( $page->ID ), ‘full’ ); ?> <a href=”https://wordpress.stackexchange.com/questions/160701/<?php the_permalink(); ?>”><div class=”featured_box” style=”background: … Read more