Title: Missing styles in some input fields
Last modified: March 19, 2022

---

# Missing styles in some input fields

 *  [leemon](https://wordpress.org/support/users/leemon/)
 * (@leemon)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/missing-styles-in-some-input-fields/)
 * In GeneratePress `main.min.css` stylesheet you style many input fields, but not
   all that are available right now:
 *     ```
       input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
         color: var(--contrast);
         background-color: var(--base-2);
         border-color: var(--base);
       }
       input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {
         border: 1px solid currentcolor;
         border-radius: 0;
         padding: 10px 15px;
         max-width: 100%;
       }
       ```
   
 * What about the `date`, `day`, `week`, `month`, `time`, `datetime`, `datetime-
   local`, `color` and `range` fields?

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

 *  [ying](https://wordpress.org/support/users/yingscarlett/)
 * (@yingscarlett)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/missing-styles-in-some-input-fields/#post-15475612)
 * Hi there,
 * I don’t recall those input fields in a WP default install.
 * Are those fields come with some plugin?
 * Let me know if I miss anything 🙂
    -  This reply was modified 4 years, 3 months ago by [ying](https://wordpress.org/support/users/yingscarlett/).
 *  Thread Starter [leemon](https://wordpress.org/support/users/leemon/)
 * (@leemon)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/missing-styles-in-some-input-fields/#post-15475698)
 * No, no WP default install uses those input fields, but I don’t recall any WP 
   default install using a `tel` field either and this field type is styled by GP.
 *  [ying](https://wordpress.org/support/users/yingscarlett/)
 * (@yingscarlett)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/missing-styles-in-some-input-fields/#post-15475980)
 * That’s true, but I would say tel is much more common in a contact form than the
   other input you listed 🙂

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

The topic ‘Missing styles in some input fields’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [ying](https://wordpress.org/support/users/yingscarlett/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/missing-styles-in-some-input-fields/#post-15475980)
 * Status: not resolved