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

#   Styling issue - display of selected variants

##

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

Less More

- Posts: 13
- Thank you received: 1
-
-

5 years 4 months ago [\#333898](#333898) by [NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")  *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#333898 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")* was created by *[NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")*

-- url of the page with the problem -- : [ www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print](https://www.niallleavy.com/index.php/hikashop-menu-for-module-310/product/286-1-revive-on-white-16-print)
-- HikaShop version -- : HikaShop Business 4.4.2 [2105071220]
-- Joomla version -- : 3.9.2
-- Browser(s) name and version -- : Chrome

Hi There,

Hope you can help.

I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted.
I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?

Screen shot attached.

Many thanks.

N

- [ ![StylingColon.JPG](/forum/attachment/53117) ](/forum/attachment/53117 "StylingColon.JPG") [ ](/forum/attachment/53117?download=1 "StylingColon.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI4NTQtc3R5bGluZy1pc3N1ZS1kaXNwbGF5LW9mLXNlbGVjdGVkLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

5 years 4 months ago [\#333909](#333909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#333909 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Hi,

You can remove the ":" as well as the variant name after it by adding such CSS:
.hikashop_product_variant_subname { display: none; }
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

- Posts: 13
- Thank you received: 1
-
-

5 years 3 months ago [\#334305](#334305) by [NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")  Replied by *[NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#334305 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Many Thanks Nicolas, I have inserted that styling into Custom.css, but it makes no difference - any ideas please ? M

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI4NTQtc3R5bGluZy1pc3N1ZS1kaXNwbGF5LW9mLXNlbGVjdGVkLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

5 years 3 months ago [\#334307](#334307) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#334307 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Hi,

It works on your website as far as I can see. I suppose that you need to clear your browser's cache to see the change, or we're talking about something else and I need more information on what you want to do.

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

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

Less More

- Posts: 13
- Thank you received: 1
-
-

5 years 3 months ago [\#334505](#334505) by [NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")  Replied by *[NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#334505 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Many thanks for that Nicolas. And If I want to display the variant without the : - that possible too ?

Kind Regards.

M

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI4NTQtc3R5bGluZy1pc3N1ZS1kaXNwbGF5LW9mLXNlbGVjdGVkLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

5 years 3 months ago [\#334519](#334519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#334519 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Hi,

If you just want to remove the ":" you can use a translation override of the translation key HIKA_VARIANT_SEPARATOR :
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)

The following user(s) said Thank You: [NiallLeavy](/forum/user/61344-niallleavy "View NiallLeavy's Profile")

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

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

Less More

- Posts: 237
- Thank you received: 5
-
-

4 years 10 months ago [\#337650](#337650) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#337650 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Could you explain where in the template overrides this code is used? I've searched the views folder but cannot find any reference to the language code or the span class.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDI4NTQtc3R5bGluZy1pc3N1ZS1kaXNwbGF5LW9mLXNlbGVjdGVkLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

4 years 10 months ago [\#337655](#337655) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Styling issue - display of selected variants](/forum/26-product-category-display/902854-styling-issue-display-of-selected-variants#337655 "-- url of the page with the problem -- :   www.niallleavy.com/index.php/hikashop-me...ve-on-white-16-print  -- HikaShop version -- : HikaShop Business 4.4.2 &#91;2105071220&#93; -- Joomla version -- : 3.9.2 -- Browser(s) name and version -- : Chrome  Hi There,  Hope you can help.  I have set up some products with variants, when the variants are selects, they appear alongside the Product name - somehow a : is inserted. I am wondering is it possible to supress the : and/or supress the display of the selected variant altogether ?  Screen shot attached.  Many thanks.  N")*

Hi,

That translation key and that class are used in the file administrator/components/com_hikashop/classes/product.php, in the function checkVariant.
That's the function which is called to automatically fill the variant information with the information from the main product. It is used at many different places: the product page of course, but also when the cart is loaded, when the cart item is modified, when the contact form for a product with variants is used, when a contact email is sent, when the waitlist mechanism is used, etc.
It's done when the data is loaded from the database, not when the information is displayed in the HTML and that's why you can't find it in any view file but in a class file.

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

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

[](#top)
