Support

Account

Home Forums General Issues ACF field in widget doesn't load value Reply To: ACF field in widget doesn't load value

  • Off course (as this is just a simple test, I put my css inline):

    <div class="testwidget" style="height: 400px; width: 100%; background-color: blue; background-position: center; background-size: cover; background-image:url('<?php echo get_field( 'widgetbackgroundimage', 'widget_' . $widget_id ); ?>');">
    </div>