1. Home
  2. Docs
  3. Min Max Default Quantity ...
  4. How To
  5. How to Change the Style of the Input Field

How to Change the Style of the Input Field

pasted image 0 43


In WooCommerce, you have the flexibility to customize the appearance of various elements on your online store, including input fields. This guide will walk you through the process of changing the style of the input field to match your desired look and feel.

pasted image 0 1 9

Step 1: Access Your WordPress Dashboard

1. Begin by logging in to your WordPress dashboard.

2. Navigate to the Woo-Commerce plugin in the sidebar.

3. Click on “WooCommerce” to expand the menu.

Step 2: Navigate to the Styling Tab

1. In the Woo-Commerce settings page, you will see several tabs at the top. Click on the Styling tab.

2. Under the “this” tab, find the “Quantity input style” sub-tab and click on it.

Step 3: Modify Input Field Style

1. Within the input field customization settings, you can typically adjust various styling attributes, such as font size, font color, background color, border style, and more.

2. Use the available options to customize the input field to your liking.

For example, you can set the width to 100px and the max-width to 100px by adding the following CSS: width: 100px !important; max-width: 100px !important;

Step 4: Save Your Changes

1. Once you are satisfied with the input field style modifications, click the “Save” button.


Min Max Default Quantity for WooCommerce