Title: Beginner CSS Question
Last modified: November 4, 2021

---

# Beginner CSS Question

 *  [fifthhouse](https://wordpress.org/support/users/fifthhouse/)
 * (@fifthhouse)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/)
 * In a form builder it gives me the option to add a “css class.” I understand what
   that means, and I’ve added the class and css to the “additional css” in the theme
   customizer. But what I don’t know is how to input the class in the form that’s
   asking me for it. Do I need to include a # or a . in front of the name, something
   else, or nothing? I’ve tried each of these three options but the style changes
   are not displaying.
 * Here is my code:
 *     ```
       .contactform-button {
          background-color: #E49854;
       ```
   
 * So what would I use as the “css class”, what would be the actual name I should
   input?
    -  This topic was modified 4 years, 6 months ago by [t-p](https://wordpress.org/support/users/t-p/).
      Reason: Moved to Fixing WordPress from Developing with WordPress

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/#post-15034791)
 * Try:
 *     ```
       .contactform-button {
          background-color: #E49854!important;
       }
       ```
   
 * CLEAR ALL CACHE before viewing the edit.
 * If the issue persists, I recommend asking at the `form builder` support forum
   so its developers and support community can help you with this.
    -  This reply was modified 4 years, 6 months ago by [t-p](https://wordpress.org/support/users/t-p/).
 *  Thread Starter [fifthhouse](https://wordpress.org/support/users/fifthhouse/)
 * (@fifthhouse)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/#post-15034877)
 * Thank you for the addition to the code. However I still don’t know what to input
   for the “css class” in the form. What do I put there?
    -  This reply was modified 4 years, 6 months ago by [fifthhouse](https://wordpress.org/support/users/fifthhouse/).
    -  This reply was modified 4 years, 6 months ago by [fifthhouse](https://wordpress.org/support/users/fifthhouse/).
 *  [Frank3d](https://wordpress.org/support/users/frank3d/)
 * (@frank3d)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/#post-15035837)
 * I see you are using the class .contactform-button
    Is this the class name on 
   the button or a name you created? Just trying to clarify the issue.
 * You can see what class they have assigned to the button by using your browsers
   inspect option.
 *  Thread Starter [fifthhouse](https://wordpress.org/support/users/fifthhouse/)
 * (@fifthhouse)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/#post-15036353)
 * It’s a name/class I created. So actually adding !important, worked!
    Thank you,
   I appreciate it. And in the form field css class, I just used the class name,
   without a . in front of it.
    -  This reply was modified 4 years, 6 months ago by [fifthhouse](https://wordpress.org/support/users/fifthhouse/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Beginner CSS Question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [fifthhouse](https://wordpress.org/support/users/fifthhouse/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/beginner-css-question/#post-15036353)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
