Title: adding a class
Last modified: July 9, 2020

---

# adding a class

 *  Resolved [digitalnow](https://wordpress.org/support/users/digitalnow/)
 * (@digitalnow)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/adding-a-class-3/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-a-class-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Munir Kamal](https://wordpress.org/support/users/munirkamal/)
 * (@munirkamal)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/adding-a-class-3/#post-13101341)
 * HI [@digitalnow](https://wordpress.org/support/users/digitalnow/)
 * The CSS class injects on the main blocks div as similar to any other Gutenberg
   block.
    [https://share.getcloudapp.com/Wnub8KYm](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.

 * ![](https://s.w.org/plugins/geopattern-icon/forms-gutenberg_fcfcfc.svg)
 * [Gutenberg Forms - WordPress Form Builder Plugin](https://wordpress.org/plugins/forms-gutenberg/)
 * [Support Threads](https://wordpress.org/support/plugin/forms-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/forms-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forms-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forms-gutenberg/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Munir Kamal](https://wordpress.org/support/users/munirkamal/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/adding-a-class-3/#post-13101341)
 * Status: resolved