[Skip to main content](#vessel-content)

#   CSS For price / quantities in templates

##

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 9 months ago [\#5277](#5277) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  *[CSS For price / quantities in templates](/forum/2-general-talk-about-hikashop/5277-css-for-price-quantities-in-templates#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:  Would prefer in my case if right aligned:  Adding the following to the  elements in the default templates would make them more generic:")* was created by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")*

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 &lt;td&gt; 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUyNzctY3NzLWZvci1wcmljZS1xdWFudGl0aWVzLWluLXRlbXBsYXRlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

15 years 9 months ago [\#5281](#5281) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: CSS For price / quantities in templates](/forum/2-general-talk-about-hikashop/5277-css-for-price-quantities-in-templates#5281 "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  elements in the default templates would make them more generic:")*

in which view would you like that more precisely ? Some views already have classes on titles for prices/quantity.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUyNzctY3NzLWZvci1wcmljZS1xdWFudGl0aWVzLWluLXRlbXBsYXRlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 9 months ago [\#5286](#5286) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  Replied by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")* on topic *[Re: CSS For price / quantities in templates](/forum/2-general-talk-about-hikashop/5277-css-for-price-quantities-in-templates#5286 "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  elements in the default templates would make them more generic:")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUyNzctY3NzLWZvci1wcmljZS1xdWFudGl0aWVzLWluLXRlbXBsYXRlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

15 years 9 months ago [\#5307](#5307) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: CSS For price / quantities in templates](/forum/2-general-talk-about-hikashop/5277-css-for-price-quantities-in-templates#5307 "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  elements in the default templates would make them more generic:")*

We'll work on that for next release.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUyNzctY3NzLWZvci1wcmljZS1xdWFudGl0aWVzLWluLXRlbXBsYXRlcz90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
