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

#   How to adjust the width of the price in the invoice

##

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343331](#343331) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343331 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")* was created by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")*

-- HikaShop version -- : HikaShop Business 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : firefox

I need to change the width of the Price row.
The ￥and amount should be on the same line.
Please check the print screen.
How can I do that?

- [ ![Invoice.jpg](/forum/attachment/55266) ](/forum/attachment/55266 "Invoice.jpg") [ ](/forum/attachment/55266?download=1 "Invoice.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago -  4 years 4 months ago [\#343337](#343337) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343337 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hello,

The most simple solution, is to add some css in your backend file css, have a look on this **[ tutorial](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom)** to learn how to proceed.
Note that you have to edit your **Back-end CSS File** (and not the frontend file CSS).

As suggestion, you have several possible css command, like :
- **font-size** =&gt; Have a specific **smaller** size only for your price
- **width** =&gt; **Expand** the column where the total price is.
**=&gt;** From your screenshot, but maybe we are wrong it seems that you are on mobile, if we are correct, I suggest you to learn more about the "**@media**" (**[ Documentation](https://www.w3schools.com/css/css_rwd_mediaqueries.asp)**).

**Results example :**
**@media only screen and (max-width: 750px) {
.price\_html\_class {**
font-size: 0.7em;
**}**
**.column\_html\_class {**
width: 120%; ****}**
}**

Hope this will allow you to adjust this display.
Regards

Last edit: 4 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343389](#343389) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343389 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hi Philip
I use a desktop not mobile.
Also I do not have any CSS experiance, therefore I need the exact writing of the CSS writing.
I just need the price row to be wider, I don't want the price to look smaler that would be very strange looking.
Can you supply me with that?
I need to print out the Invoice back end and send it with the goods to the customer. So this should be looking good.
Thanks
Raphael

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago -  4 years 4 months ago [\#343395](#343395) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343395 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hello,

If we are talking about adjusting the view invoice, then the story is a little different, you always custom your invoice view (Backend &amp; frontend) but if you want to print and send it to the customer, then you have our **[ plugin pdf invoice](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html)**.

With this you will have a refine design and everything that you need, if we understand well your need.
Hope this will fit your needs.

Regards

Last edit: 4 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343410](#343410) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343410 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hi Philip

I used hikashop for several years now and updated the system from joomla 2.5 to joomla 4. We never had the problem that the price was not showing correctly.
Your shop is sold worldwide and should be working with all currency's that are around. I need a solution to make this row wider nothing else!
Kind regards
Raphael

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago -  4 years 4 months ago [\#343413](#343413) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343413 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hello,

That was just a suggestion, now in order to redisgn your invoice view Backend and Frontend, follow me step by step :
**1.** Open 2 folders(1 for backend &amp; 1 for frontend)
For backend : ***YourWebsite***\administrator\components\com_hikashop\views\order\tmpl\
For frontend : ***YourWebsite***\components\com_hikashop\views\order\tmpl\
**2.** Open your relative files
For backend : **invoice.php**
For frontend : **show.php**
**3.** Edit your file to add **inline css commands**, like shown on my screenshot :
For backend : **invoice.php** around line **341**
[ ![alt](https://i.ibb.co/ZB3w6B9/screenshot.png) ](https://i.ibb.co/ZB3w6B9/screenshot.png "alt")

For frontend : **show.php** around line **493**
[ ![alt](https://i.ibb.co/mBHS7d8/screenshot1.pnghttps://i.ibb.co/mBHS7d8/screenshot1.png) ](https://i.ibb.co/mBHS7d8/screenshot1.pnghttps://i.ibb.co/mBHS7d8/screenshot1.png "alt")

Of course, you have just to adjust width command value to your needs.
Regards

Last edit: 4 years 4 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")**
- [![ePower2007's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8541-epower2007 "View ePower2007's Profile") Topic Author
- [ Offline](/forum/user/8541-epower2007)

Less More

- Posts: 142
- Thank you received: 3
-
-

4 years 4 months ago [\#343461](#343461) by [ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")  Replied by *[ePower2007](/forum/user/8541-epower2007 "View ePower2007's Profile")* on topic *[How to adjust the width of the price in the invoice](/forum/35-orders-management/904749-how-to-adjust-the-width-of-the-price-in-the-invoice#343461 "-- HikaShop version -- : HikaShop Business 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 7.4.29 -- Browser(s) name and version -- : firefox  I need to change the width of the Price row. The ￥and amount should be on the same line. Please check the print screen. How can I do that?")*

Hi Philip
For the backend it was exactly what I needed. looks perfect now.
And for the front end we had no issue.
Thanks for your help.
Kind regards
Raphael

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDc0OS1ob3ctdG8tYWRqdXN0LXRoZS13aWR0aC1vZi10aGUtcHJpY2UtaW4tdGhlLWludm9pY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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)
