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

#   Modifying the .php or .css files

##

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

Less More

- Posts: 74
- Thank you received: 1
-
-

14 years 4 months ago -  14 years 4 months ago [\#56337](#56337) by [Southcoaster](/forum/user/8042-southcoaster "View Southcoaster's Profile")  *[Modifying the .php or .css files](/forum/4-how-to/56337-modifying-the-php-or-css-files#56337 "In my shopping cart module on the left-hand side I want to separate the Product Name from its Variant by displaying them on different lines. For example in the screen shot below:  The Product is called 'Satin - standard Canon 190gsm'. The Variant selected was 'Crop Image to fit paper size (recommended)'.  By default HikaShop strings these two together in one long line, whereas I want them on separate lines (perhaps by inserting a  into the .html.  According to FireBug I need to find a class called 'hikashop&#95;product&#95;variant&#95;subname', so I expected to find .hikashop&#95;product&#95;variant&#95;subname in a .css file (to format the text) or .html file (to add the ) somewhere as a start.  However I cannot find these files, so am I going about it the wrong way? Many thanks.")* was created by *[Southcoaster](/forum/user/8042-southcoaster "View Southcoaster's Profile")*

In my shopping cart module on the left-hand side I want to separate the Product Name from its Variant by displaying them on different lines.
For example in the screen shot below:

The Product is called 'Satin - standard Canon 190gsm'.
The Variant selected was 'Crop Image to fit paper size (recommended)'.

By default HikaShop strings these two together in one long line, whereas I want them on separate lines (perhaps by inserting a &lt;br&gt; into the .html.

According to FireBug I need to find a class called 'hikashop_product_variant_subname', so I expected to find .hikashop_product_variant_subname in a .css file (to format the text) or .html file (to add the &lt;br&gt;) somewhere as a start.

However I cannot find these files, so am I going about it the wrong way?
Many thanks.

[ ![HikaShop-1.jpg](/forum/attachment/4587) ](/forum/attachment/4587 "HikaShop-1.jpg")

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

Last edit: 14 years 4 months ago by [Southcoaster](/forum/user/8042-southcoaster "View Southcoaster's Profile"). Reason: Modified screen shot

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MzM3LW1vZGlmeWluZy10aGUtcGhwLW9yLWNzcy1maWxlcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 4 months ago [\#56419](#56419) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Modifying the .php or .css files](/forum/4-how-to/56337-modifying-the-php-or-css-files#56419 "In my shopping cart module on the left-hand side I want to separate the Product Name from its Variant by displaying them on different lines. For example in the screen shot below:  The Product is called 'Satin - standard Canon 190gsm'. The Variant selected was 'Crop Image to fit paper size (recommended)'.  By default HikaShop strings these two together in one long line, whereas I want them on separate lines (perhaps by inserting a  into the .html.  According to FireBug I need to find a class called 'hikashop&#95;product&#95;variant&#95;subname', so I expected to find .hikashop&#95;product&#95;variant&#95;subname in a .css file (to format the text) or .html file (to add the ) somewhere as a start.  However I cannot find these files, so am I going about it the wrong way? Many thanks.")*

You will have to add that CSS in the front end CSS file of HikaShop via the Display tab of the configuration:
.hikashop_cart .hikashop_product_variant_subname{
display: block;
}

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

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

Less More

- Posts: 74
- Thank you received: 1
-
-

14 years 4 months ago [\#56435](#56435) by [Southcoaster](/forum/user/8042-southcoaster "View Southcoaster's Profile")  Replied by *[Southcoaster](/forum/user/8042-southcoaster "View Southcoaster's Profile")* on topic *[Re: Modifying the .php or .css files](/forum/4-how-to/56337-modifying-the-php-or-css-files#56435 "In my shopping cart module on the left-hand side I want to separate the Product Name from its Variant by displaying them on different lines. For example in the screen shot below:  The Product is called 'Satin - standard Canon 190gsm'. The Variant selected was 'Crop Image to fit paper size (recommended)'.  By default HikaShop strings these two together in one long line, whereas I want them on separate lines (perhaps by inserting a  into the .html.  According to FireBug I need to find a class called 'hikashop&#95;product&#95;variant&#95;subname', so I expected to find .hikashop&#95;product&#95;variant&#95;subname in a .css file (to format the text) or .html file (to add the ) somewhere as a start.  However I cannot find these files, so am I going about it the wrong way? Many thanks.")*

Many thanks Nicolas,

I think I am starting to get the hang of how to modify my pages.

Regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MzM3LW1vZGlmeWluZy10aGUtcGhwLW9yLWNzcy1maWxlcz90bXBsPW1hcmtkb3du) 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.047 seconds

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