Home Forums Front-end Issues Front-end form wrap each group in a div?


Front-end form wrap each group in a div?

    • dwsww

    • July 6, 2019 at 6:50 am

    I have a front-end form that contains an array of different ACF groups, does anyone know if there’s a way to wrap each of these groups in a div so that I can apply a class to style each group separately?

    Many thanks

    • James

    • July 17, 2019 at 10:51 pm

    Hi @dwsww

    Perhaps you could create a readonly field on each field group and use this to save a unique class name that you can use to target the field group on your page template.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.