[Skip to main content](#vessel-content)

#   Quantity box width

##

- **[urbanj](/forum/user/6112-urbanj "View urbanj's Profile")**
- [![urbanj's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6112-urbanj "View urbanj's Profile") Topic Author
- [ Offline](/forum/user/6112-urbanj)

Less More

- Posts: 16
- Thank you received: 1
-
-

8 years 10 months ago [\#286152](#286152) by [urbanj](/forum/user/6112-urbanj "View urbanj's Profile")  *[Quantity box width](/forum/26-product-category-display/893505-quantity-box-width#286152 "-- url of the page with the problem -- :   authenticapets.com/tienda-perros/dog-food/dog-food  -- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6  I am struggling to increase the width of the quantity box. As you can see, you can hardly see the number, especially if it goes into double digits. tried all of the solutions posted on this forum and nothing works  Thanks")* was created by *[urbanj](/forum/user/6112-urbanj "View urbanj's Profile")*

-- url of the page with the problem -- : [ authenticapets.com/tienda-perros/dog-food/dog-food](http://authenticapets.com/tienda-perros/dog-food/dog-food)
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 5.6

I am struggling to increase the width of the quantity box. As you can see, you can hardly see the number, especially if it goes into double digits. tried all of the solutions posted on this forum and nothing works

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1MDUtcXVhbnRpdHktYm94LXdpZHRoP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

8 years 10 months ago [\#286157](#286157) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Quantity box width](/forum/26-product-category-display/893505-quantity-box-width#286157 "-- url of the page with the problem -- :   authenticapets.com/tienda-perros/dog-food/dog-food  -- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6  I am struggling to increase the width of the quantity box. As you can see, you can hardly see the number, especially if it goes into double digits. tried all of the solutions posted on this forum and nothing works  Thanks")*

Hi,

You can increase it by adding such CSS for example:
input.hikashop_product_quantity_field {
width: 60px !important;
}
But the problem is not really the width of the input field.
The problem is that your template adds a big padding on the input field.
You should add that CSS to make it look better:
input.hikashop_product_quantity_field {
padding: 0 !important;
text-align: center !important;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1MDUtcXVhbnRpdHktYm94LXdpZHRoP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sparkyray](/forum/user/60239-sparkyray "View sparkyray's Profile")**
- [![sparkyray's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/60239-sparkyray "View sparkyray's Profile")
- [ Offline](/forum/user/60239-sparkyray)

Less More

- Posts: 1
- Thank you received: 0
-
-

6 years 3 weeks ago [\#325267](#325267) by [sparkyray](/forum/user/60239-sparkyray "View sparkyray's Profile")  Replied by *[sparkyray](/forum/user/60239-sparkyray "View sparkyray's Profile")* on topic *[Quantity box width](/forum/26-product-category-display/893505-quantity-box-width#325267 "-- url of the page with the problem -- :   authenticapets.com/tienda-perros/dog-food/dog-food  -- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6  I am struggling to increase the width of the quantity box. As you can see, you can hardly see the number, especially if it goes into double digits. tried all of the solutions posted on this forum and nothing works  Thanks")*

Hi Having the same problem, where would you put the css code and into which file ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1MDUtcXVhbnRpdHktYm94LXdpZHRoP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 3 weeks ago -  6 years 3 weeks ago [\#325299](#325299) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Quantity box width](/forum/26-product-category-display/893505-quantity-box-width#325299 "-- url of the page with the problem -- :   authenticapets.com/tienda-perros/dog-food/dog-food  -- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 5.6  I am struggling to increase the width of the quantity box. As you can see, you can hardly see the number, especially if it goes into double digits. tried all of the solutions posted on this forum and nothing works  Thanks")*

Hello,

Have a look on [ **this tutorial**](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom) to see how to add some custom css.
Hope this will help you to correct your issue.

Regards

Last edit: 6 years 3 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM1MDUtcXVhbnRpdHktYm94LXdpZHRoP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
