Additional menu

Get MemberPress today! Start getting paid for the content you create! Get MemberPress Now
  1. Home
  2. Knowledge Base
  3. Advanced Topics
  4. Custom Styling
  5. How to Default the Coupon Code Field on Registration to be Open

How to Default the Coupon Code Field on Registration to be Open

When you check the “Enable Coupon Field on membership registration forms” option in the MemberPress → Settings → Account tab, the coupon field in the registration form will be hidden by default. Users will have to click the “Have a Coupon” link at the bottom of the registration form to open this field and enter the coupon code. To have a coupon field initially open, please add the code below to the Appearance → Customize → Additional CSS section of your WordPress Dashboard:

.have-coupon-link { display: none; }
.mp-form-row.mepr_coupon { display: block; }

That should make the coupon code instantly visible.

Was this article helpful?
computer girl

Get MemberPress today!

Start getting paid for the content you create.