- Posts: 344
- Thank you received: 3
Right align prices in checkout legacy
9 years 9 months ago #260862
by river
Right align prices in checkout legacy was created by river
-- HikaShop version -- : 3.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
Template: protostar
Checkout legacy: YES
How can I modify my "Styles for the front-end" custom css file to get the subtotal-, shipping-, VAT- anf toalprice to be right aligned in the checkout ?
See attached image
This was not a problem with hikashop 2.6.4, but I can figgure out to get it left aligned using Hikashop 3.
any advice ?
tnx
-- Joomla version -- : 3.6.5
-- PHP version -- : 7
Template: protostar
Checkout legacy: YES
How can I modify my "Styles for the front-end" custom css file to get the subtotal-, shipping-, VAT- anf toalprice to be right aligned in the checkout ?
See attached image
This was not a problem with hikashop 2.6.4, but I can figgure out to get it left aligned using Hikashop 3.
any advice ?
tnx
Please Log in or Create an account to join the conversation.
9 years 9 months ago #260864
by kyratn
Replied by kyratn on topic Right align prices in checkout legacy
Hi,
If you inspect with firebug you will see that every td has own class. So as example to align subtotal price to right you should use something like this:
Hope that helps.
Thanks
If you inspect with firebug you will see that every td has own class. So as example to align subtotal price to right you should use something like this:
Code:
.hikashop_checkout_cart table td .hikashop_cart_subtotal_value {
text-align: right;
}
Hope that helps.
Thanks
Please Log in or Create an account to join the conversation.
9 years 9 months ago #260868
by river
Replied by river on topic Right align prices in checkout legacy
Tnx for reply
Yeah I tried that before... but couldt make it work.
Any more advice ?
Yeah I tried that before... but couldt make it work.
Any more advice ?
Please Log in or Create an account to join the conversation.
9 years 9 months ago #260874
by kyratn
Replied by kyratn on topic Right align prices in checkout legacy
Then remove table and td...
Code:
.hikashop_checkout_cart .hikashop_cart_subtotal_value {
text-align: right !important;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds