Hi,
I have an overlay containing a modal hidden behind a Woocommerce featured image in a Pro Layout, which I only want to display if certain conditions are met. However, I am having difficulty in getting the logic right.
I have used an ACF field with a simple checkbox and single response “Yes”, which is available on all Products. The field is not mandatory.
What I want is that if the checkbox is ticked, the value “Yes” is provided. The overlay’s modal has the condition set that if the checkbox is checked it will show the modal; if not ticked, the modal remains hidden.
A secondary and minor problem is that the modal’s toggle seems to grip to the right-hand edge of the featured image. I have set flex to be center center, but the toggle will not center!
Any help will be gratefully received,
Christopher