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

#   centralizing the quantity field

##

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

Less More

- Posts: 66
- Thank you received: 0
-
-

14 years 3 months ago [\#59970](#59970) by [luizarios](/forum/user/3405-luizarios "View luizarios's Profile")  *[centralizing the quantity field](/forum/2-general-talk-about-hikashop/59970-centralizing-the-quantity-field#59970 "I am trying to center the quantity field so that it is between the + and - symbols (attached image shows how it should be versus how it is).  Using Firefox I found the property changing this is  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border: 0 none; font: ; margin: 0; padding: 0;  }  now if I simply delete the vertical align property it would change the whole page so I can't do it, any idea how I can change just the quantity field? Many thanks")* was created by *[luizarios](/forum/user/3405-luizarios "View luizarios's Profile")*

I am trying to center the quantity field so that it is between the + and - symbols (attached image shows how it should be versus how it is).

[ ![0608.gif](/forum/attachment/5082) ](/forum/attachment/5082 "0608.gif")

Using Firefox I found the property changing this is

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
border: 0 none;
font: ;
margin: 0;
padding: 0;
vertical-align: baseline;
}

now if I simply delete the vertical align property it would change the whole page so I can't do it, any idea how I can change just the quantity field? Many thanks

- [ ![0608.gif](/forum/attachment/5082) ](/forum/attachment/5082 "0608.gif") [ ](/forum/attachment/5082?download=1 "0608.gif")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU5OTcwLWNlbnRyYWxpemluZy10aGUtcXVhbnRpdHktZmllbGQ/dG1wbD1tYXJrZG93bg==) 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: 86555
- Thank you received: 14304
-
-

14 years 3 months ago [\#60038](#60038) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: centralizing the quantity field](/forum/2-general-talk-about-hikashop/59970-centralizing-the-quantity-field#60038 "I am trying to center the quantity field so that it is between the + and - symbols (attached image shows how it should be versus how it is).  Using Firefox I found the property changing this is  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border: 0 none; font: ; margin: 0; padding: 0;  }  now if I simply delete the vertical align property it would change the whole page so I can't do it, any idea how I can change just the quantity field? Many thanks")*

You should try to add that CSS:

.hikashop_product_page td{vertical-align:middle !important;}

The following user(s) said Thank You: [luizarios](/forum/user/3405-luizarios "View luizarios's Profile")

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

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

Less More

- Posts: 66
- Thank you received: 0
-
-

14 years 3 months ago [\#60067](#60067) by [luizarios](/forum/user/3405-luizarios "View luizarios's Profile")  Replied by *[luizarios](/forum/user/3405-luizarios "View luizarios's Profile")* on topic *[Re: centralizing the quantity field](/forum/2-general-talk-about-hikashop/59970-centralizing-the-quantity-field#60067 "I am trying to center the quantity field so that it is between the + and - symbols (attached image shows how it should be versus how it is).  Using Firefox I found the property changing this is  html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { border: 0 none; font: ; margin: 0; padding: 0;  }  now if I simply delete the vertical align property it would change the whole page so I can't do it, any idea how I can change just the quantity field? Many thanks")*

it worked ![:)](/media/kunena/emoticons/3.png ":)") thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU5OTcwLWNlbnRyYWxpemluZy10aGUtcXVhbnRpdHktZmllbGQ/dG1wbD1tYXJrZG93bg==) 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.056 seconds

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