• Resolved ZeroGravity

    (@zerogravity)


    I created a textarea field. It appears on the checkout form but the class is not being added to the field. I was wanting to adjust the height and width using the class.

    Thanks!

    • This topic was modified 6 years, 5 months ago by ZeroGravity.
    • This topic was modified 6 years, 5 months ago by ZeroGravity.
Viewing 1 replies (of 1 total)
  • Plugin Author Scott DeLuzio

    (@scottdeluzio)

    Hi,
    The class gets added to a <p> tag that wraps around the field. It can be used for styling the field like this:

    p.this-is-my-class textarea#conditional_field {
    /* Your styles go here */
    }

    The conditional field also has an ID that can be targeted #conditional_field, which may help.

    The text area fields rows and columns (height and width) are set by WooCommerce as this plugin uses their functions to create the field. With that said, it is possible to adjust the height using CSS.

Viewing 1 replies (of 1 total)
  • The topic ‘Class not being added to the field’ is closed to new replies.