Center hikashop_cart_product_quantity_value

  • Posts: 203
  • Thank you received: 0
10 years 5 months ago #181836

-- HikaShop version -- : HikaShop Business 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Firefox 33

Hi there

how to center the quantitiy field in checkout step 4

i tried

#hikashop_cart_product_quantity_value{ float: center !important;}

but this does not work
awesomescreenshot.com/08a3y0ine5

the quantitiy is still aligned to the left

thx

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #181841

Hi,

Please try:

#hikashop_cart_product_quantity_value{ text-align: center !important;}

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 5 months ago #182112

Does not work :-(

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #182138

Hi,

I can see that you have enabled the quantity edition on checkout.
If you want the not editable quantity and align it to the center, you have to play with some css properties.

www.hikashop.com/support/support/documen...ize-the-display.html

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 5 months ago #182386

the quantitiy funktion disappeard in the last step.

i just want to align the quantity in the middle

is there no easy way?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 5 months ago #182396

Hello,
Using that CSS code will do the job :

#hikashop_checkout_cart .hikashop_cart_product_quantity_value {
text-align: center !important;
}

The following user(s) said Thank You: CMS-Buttler

Please Log in or Create an account to join the conversation.

  • Posts: 203
  • Thank you received: 0
10 years 5 months ago #183146

That works perfect now

now there is a gab between value, refresh and the deletet button.

how can i move both buttons closer to the value field.

max-width did not work.

awesomescreenshot.com/0a540vxe2f

Please Log in or Create an account to join the conversation.

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 5 months ago #183182

With such CSS:

#hikashop_checkout_cart .hikashop_cart_product_quantity_value input {
float: none !important;
}

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum