Title: How to edit button CSS
Last modified: September 16, 2021

---

# How to edit button CSS

 *  Resolved [fenway34](https://wordpress.org/support/users/fenway34/)
 * (@fenway34)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/how-to-edit-button-css/)
 * I created a form and it seems to work fine in the main area, but I want it in
   the sidebar and when I do that the Submit button gets shrunk so you can’t read
   the words. In the Chrome dev tools I was able to edit the CSS for the submit 
   button to have a width of 50% instead of 20% and it looks better. How do I edit
   that CSS in WordPress?
 * I really know very little about this stuff so any help is really appreciated.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-edit-button-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [aicee](https://wordpress.org/support/users/aicee11/)
 * (@aicee11)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/how-to-edit-button-css/#post-14892064)
 * Hi there!
 * You can try to use this CSS code:
 *     ```
       .zbscrmFrontEndForm .embed .cgrab .content .form-wrapper .send, .zbscrmFrontEndForm .embed .cgrab .content .form-wrapper input[type="submit"] {
           width: initial;
       }
       ```
   
 * You can change the value of the width to 50% like what you’ve tested.
 * You can then add this CSS code to your theme’s custom CSS editor (if your theme
   has this), or use a plugin like one of the following: [https://wordpress.org/plugins/search/custom+css/](https://wordpress.org/plugins/search/custom+css/)
 * Hope this helps! Thank you!

Viewing 1 replies (of 1 total)

The topic ‘How to edit button CSS’ is closed to new replies.

 * ![](https://ps.w.org/zero-bs-crm/assets/icon.svg?rev=2821636)
 * [Jetpack CRM - Clients, Leads, Invoices, Billing, Email Marketing, & Automation](https://wordpress.org/plugins/zero-bs-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zero-bs-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zero-bs-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/zero-bs-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zero-bs-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zero-bs-crm/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * 1 reply
 * 2 participants
 * Last reply from: [aicee](https://wordpress.org/support/users/aicee11/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/how-to-edit-button-css/#post-14892064)
 * Status: resolved