advanced custom fields wordpress custom class

relatively new to wordpress and ACF,

Basically I have a custom field which is a button that I need to change to a different colour based on what page they are on, so for example

Page 1 – Button needs to be blue
Page 2 – Button needs to be red

But they both use the same ACF button

Is there a way to do this or do I need to create individual ones of each page?

Thanks in advanced.

Read more here: advanced custom fields wordpress custom class

Leave a Reply

Your email address will not be published. Required fields are marked *