CSS For price / quantities in templates

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 11 months ago #5277

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:

Title
£100.49
£10.25
£1,000.34

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

Adding the following to the <td> elements in the default templates would make them more generic:
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.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
13 years 11 months ago #5281

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.

  • Posts: 292
  • Thank you received: 5
  • Hikashop Business
13 years 11 months ago #5286

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.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
13 years 11 months ago #5307

We'll work on that for next release.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum