Skip to main content

Center hikashop_cart_product_quantity_value

More
11 years 10 months ago #181836 by CMS-Buttler
-- 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
Code:
#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.

More
11 years 10 months ago #181841 by Xavier
Hi,

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

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

More
11 years 9 months ago #182112 by CMS-Buttler
Does not work :-(

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

More
11 years 9 months ago #182138 by Xavier
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.

More
11 years 9 months ago #182386 by CMS-Buttler
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.

More
11 years 9 months ago #182396 by Mohamed Thelji
Hello,
Using that CSS code will do the job :
Code:
#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.

More
11 years 9 months ago #183146 by CMS-Buttler
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.

More
11 years 9 months ago #183182 by nicolas
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.197 seconds
Powered by Kunena Forum