Right align prices in checkout legacy

  • Posts: 344
  • Thank you received: 3
7 years 9 months ago #260862

-- 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

Attachments:

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

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #260864

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:

.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.

  • Posts: 344
  • Thank you received: 3
7 years 9 months ago #260868

Tnx for reply
Yeah I tried that before... but couldt make it work.

Any more advice ?

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

  • Posts: 1119
  • Thank you received: 114
7 years 9 months ago #260874

Then remove table and td...

.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.073 seconds
Powered by Kunena Forum