How to use SmartCrop with div backgrounds?
-
I want to know the best approach to using SmartCrop with div backgrounds. Right now it’s not applying the SmartCrops, and I don’t see a documented way to do what I want. PHP code excerpt for relevant section below.
<div class="lead" style="background: url('<?php echo $backgroundImg[0]; ?>');"> <h1 class="entry-title single-title" itemprop="headline"><?php the_title(); ?></h1> </div>
Thanks!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to use SmartCrop with div backgrounds?’ is closed to new replies.