In non- responsive web forms:
  1. From Web, click Page Designer
  2. On the Colors & Styles section, click Advanced colors and styles
  3. Click Edit style sheet
  4. Insert the following code:
div.PaymentPart_DiscountCodeDetails {display:none}
  1. Click Apply, click Save
  2. Click Next
  3. Click Submit
In responsive web forms:​​
  1. From Web, click Page Designer
  2. On the Colors & Styles section, click Advanced colors and styles
  3. Click Edit style sheet
  4. Insert the following code:
[id$=divDiscountCodeEntry] {
     display:none;
}
  1. Click Apply, click Save
  2. Click Next
  3. Click Submit

Note: These steps will hide the discount code field from all web forms, including events, programs and memberships.Blackbaud does not support CSS we include these steps as a recommendation.