Home › Forums › Front-end Issues › If checkbox ticked then add a class › Reply To: If checkbox ticked then add a class
It’s still under construction. If you check out the Home page, you will see all the thumbnails. The first one of the girls face is a ‘freelance’ the others are ‘signed’.
If you choose a video and you hover the player, you should see the director’s name <h1> and the client/title of the video <h2>. There is also an <h3> with a static text about getting in contact. At the moment it’s set to: display: none;.
What I want is, if the True/False field is set to ‘Freelance’, then the <h3> gets changed to display: block;.
I’ve tried a gazillion things and if they don’t work I remove them, so at the moment, there is no code attempting to make it do anything.
http://nickverburgt.com/theproducers.co/
Many thanks in advance.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.