• Resolved digitalnow

    (@digitalnow)


    hi team,

    i try to add a class to a email field. its “automatewoo-capture-guest-email”. when i inspect the field i i don`t find this class, in result, automatewoo cannot capture the class an do the expected work.
    any idea?
    to test the popup with the field, click “add to cart” on a single product page – not at an archive page.
    tks in advance

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • HI @digitalnow

    The CSS class injects on the main blocks div as similar to any other Gutenberg block.
    https://share.getcloudapp.com/Wnub8KYm

    All the fields in Gutenberg forms are technically Gutenberg Blocks as well. So you have the class applied already.

    Will that work this way for you? You might target the nested class like:

    .automatewoo-capture-guest-email #ID_OF_EMAIL_FIELD

    Hope this works for you this way?

Viewing 1 replies (of 1 total)
  • The topic ‘adding a class’ is closed to new replies.