Skip to main content

CSS For price / quantities in templates

More
15 years 8 months ago #5277 by brainforge
Where prices / quantities are displayed in a table cell there is no CSS class assigned to that cell to make it easy to control the alignment. This applies to both admin and user templates.

For instance prices are left aligned which look like this:
Code:
Title £100.49 £10.25 £1,000.34

Would prefer in my case if right aligned:
Code:
Title £100.49 £10.25 £1,000.34

Adding the following to the <td> elements in the default templates would make them more generic:
Code:
class="hikashop-quantity-header" class="hikashop-price-header" class="hikashop-quantity-value" class="hikashop-price-value"

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

More
15 years 8 months ago #5281 by nicolas
in which view would you like that more precisely ? Some views already have classes on titles for prices/quantity.

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

More
15 years 8 months ago #5286 by brainforge
Those I initially spotted:

Front-end:
order/tmpl/show.php
order/tmpl/listing.php

Back-end:
order/tmpl/form.php
order/tmpl/invoice.php

Anywhere else prices / quantities are displayed in a tabular format.
E.G. back-end product listing prices are left-aligned, adding CSS class would give option to change if preferred.

Obviously the templates can be customised, but adding more classes to the templates would allow changes of this nature to be done at the CSS level.

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

More
15 years 8 months ago #5307 by nicolas
We'll work on that for next release.

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

Time to create page: 0.244 seconds
Powered by Kunena Forum