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

#   Please Allow for Some HTML in Product NAME

##

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 3 months ago -  8 years 2 months ago [\#297054](#297054) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297054 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")* was created by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7.2

I have been asked now by several clients to be able to put some HTML, like &lt;br&gt;,in the PRODUCT NAME.
The reason for this is fairly obvious for long product names:

**How it is showing now on the front end:**How to Mix Colours When Painting with Artist Gerda
Smit

**How it would be more appropriate to show by using a &lt;br&gt; in the name:**How to Mix Colours When Painting
with Artist Gerda Smit

RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.

Thank you.

Last edit: 8 years 2 months ago by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 3 months ago [\#297058](#297058) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297058 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

Hello,

Since product names can be displayed elsewhere than an HTML page, that other fields can be relied on that name ; no we won't allow that.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 3 months ago [\#297114](#297114) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297114 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

OK, I understand that.

How about a **separate Product Name field** that allows basic HTML for displaying on the Category and Product Grid/List only?

This would fix a lot of visual issues with long product names.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 3 months ago [\#297123](#297123) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297123 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

Hello,

You're free to create product custom fields and customize your views accordingly to your needs.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 3 months ago -  8 years 3 months ago [\#297157](#297157) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297157 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

I have created a product custom field alright and have modified the correct view.

However, adding a &lt;br&gt; is working correctly in the product display, but not in the Products Listing.
The &lt;br&gt; is being ignored. It is there in the page html though.
[ www.kapitisummerschool.co.nz/new/adult-c...vening-entertainment](https://www.kapitisummerschool.co.nz/new/adult-courses-kapiti/category/evening-entertainment)

[ ![Voila&#95;Capture2018-08-27&#95;11-49-17&#95;AM.png](/forum/attachment/44634) ](/forum/attachment/44634 "...1-49-17&#95;AM.png")

[ ![Voila&#95;Capture2018-08-27&#95;11-48-53&#95;AM.png](/forum/attachment/44635) ](/forum/attachment/44635 "...1-48-53&#95;AM.png")

- [ ![Voila&#95;Capture2018-08-27&#95;11-49-17&#95;AM.png](/forum/attachment/44634) ](/forum/attachment/44634 "...1-49-17&#95;AM.png") [ ](/forum/attachment/44634?download=1 "...1-49-17&#95;AM.png")
- [ ![Voila&#95;Capture2018-08-27&#95;11-48-53&#95;AM.png](/forum/attachment/44635) ](/forum/attachment/44635 "...1-48-53&#95;AM.png") [ ](/forum/attachment/44635?download=1 "...1-48-53&#95;AM.png")

Last edit: 8 years 3 months ago by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile").

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

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 3 months ago -  8 years 3 months ago [\#297159](#297159) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297159 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

OK, I did a hack to fix the issue.
Changed the data field to WYSIWYG instead of Text.
Added hard &lt;p&gt; breaks instead of &lt;br&gt; then changed the line-height to compensate.

This works most of the time, but screws up when screen size is portrait for pad, but definitely a better look than the original wrap-around text.

The &lt;br&gt; approach would work in all cases, but I can't get it to work.

Last edit: 8 years 3 months ago by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 3 months ago [\#297174](#297174) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297174 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

Hello,

You might want to see the advanced options for the fields, like the "input filtering" one.
[ www.hikashop.com/support/documentation/1...ld-form.html#ex-attr](https://www.hikashop.com/support/documentation/10-documentation/hikashop/42-hikashop-field-form.html#ex-attr)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 3 months ago [\#297220](#297220) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297220 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

INPUT FILTERING was off.
The &lt;br&gt; was present on both pages, so HTML was not being filtered out.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk1NTY2LXBsZWFzZS1hbGxvdy1mb3Itc29tZS1odG1sLWluLXByb2R1Y3QtbmFtZT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

8 years 2 months ago [\#297239](#297239) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297239 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

Hi,

Then, it means that you must have had some CSS either in the template, a module, or some custom CSS, which would hide the br tags ( with a display:none; ).

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

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

Less More

- Posts: 301
- Thank you received: 11
-
-

8 years 2 months ago -  8 years 2 months ago [\#297240](#297240) by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")  Replied by *[MSTACE](/forum/user/7448-mstace "View MSTACE's Profile")* on topic *[Please Allow for Some HTML in Product NAME](/forum/32-content-creation/895566-please-allow-for-some-html-in-product-name#297240 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 7.2  I have been asked now by several clients to be able to put some HTML, like ,in the PRODUCT NAME. The reason for this is fairly obvious for long product names:  How it is showing now on the front end: How to Mix Colours When Painting with Artist Gerda Smit  How it would be more appropriate to show by using a  in the name: How to Mix Colours When Painting with Artist Gerda Smit  RocketTheme does this by default for the Titles on all of their plug-ins. Can add css classes too. It really helps make the site a lot more professional looking.  Thank you.")*

Your are correct! AND it is the HikaShop **style\_default.css**!!!
Code:

.hikashop_subcontainer br { display: none; }

I changed the 'none' to 'block' and it is now working!

Thanks! The product listing is looking great now.

Last edit: 8 years 2 months ago by [MSTACE](/forum/user/7448-mstace "View MSTACE's Profile").

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

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