CSS For price / quantities in templates
- brainforge
-
Topic Author
- Offline
Less
More
15 years 8 months ago #5277
by brainforge
CSS For price / quantities in templates was created 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:
Would prefer in my case if right aligned:
Adding the following to the <td> elements in the default templates would make them more generic:
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.
15 years 8 months ago #5281
by nicolas
Replied by nicolas on topic Re: CSS For price / quantities in templates
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.
- brainforge
-
Topic Author
- Offline
15 years 8 months ago #5286
by brainforge
Replied by brainforge on topic Re: CSS For price / quantities in templates
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.
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.
15 years 8 months ago #5307
by nicolas
Replied by nicolas on topic Re: CSS For price / quantities in templates
We'll work on that for next release.
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds