Support

Account

Home Forums Front-end Issues How to Apply Custom Field Content to Styles? Reply To: How to Apply Custom Field Content to Styles?

  • You would have to use inline styles. You simply need to create a style block.

    
    <style>
      /* add styles using acf fields, for example: */
      .some-class {
        background-image: <?php the_field('my_backgroung_field');
      }
    </style>
    

    Please note, it is just a quick example