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

#   Style characteristics?

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 1 month ago [\#311361](#311361) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Style characteristics?](/forum/50-feature-request/898355-style-characteristics#311361 "Hi,  We have set characteristics display method to Radio Button.  Any chance you could consider to add additional class like &quot;Active&quot; to label which input is checked or maybe wrap values in span?  Right now in order to have different look for checked label you must wrap each value in span via characteristics edition page. This creates some display issues in back-end and while importing, exporting data.  Thank you")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

We have set characteristics display method to Radio Button.

Any chance you could consider to add additional class like "Active" to label which input is checked or maybe wrap values in span?

Right now in order to have different look for checked label you must wrap each value in span via characteristics edition page. This creates some display issues in back-end and while importing, exporting data.

[ ![labels.png](/forum/attachment/47803) ](/forum/attachment/47803 "labels.png")

Thank you

- [ ![labels.png](/forum/attachment/47803) ](/forum/attachment/47803 "labels.png") [ ](/forum/attachment/47803?download=1 "labels.png")

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

7 years 1 month ago [\#311372](#311372) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Style characteristics?](/forum/50-feature-request/898355-style-characteristics#311372 "Hi,  We have set characteristics display method to Radio Button.  Any chance you could consider to add additional class like &quot;Active&quot; to label which input is checked or maybe wrap values in span?  Right now in order to have different look for checked label you must wrap each value in span via characteristics edition page. This creates some display issues in back-end and while importing, exporting data.  Thank you")*

Hi,

Well, the thing is that the radios/dropdowns are actually displayed by Joomla there.
HikaShop only calls the display library from Joomla:
$html = JHTML::_('select.'.$characteristic_display.'list', $this-&gt;values, $map, 'class="custom-select" size="1"' . $options, 'value', 'text', (int)$value,$id );
in administrator/components/com_hikashop/types/characteristic.php
And the Joomla display library doesn't set a class for the active element nor does it have an option to be able to do that.
So we would have to switch to displaying the HTML ourselves there.
Possible, but it's more complex than just an if.
And it's the same with have a span around the text.
I've noted that on our todo list for now.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 1 month ago [\#311373](#311373) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Style characteristics?](/forum/50-feature-request/898355-style-characteristics#311373 "Hi,  We have set characteristics display method to Radio Button.  Any chance you could consider to add additional class like &quot;Active&quot; to label which input is checked or maybe wrap values in span?  Right now in order to have different look for checked label you must wrap each value in span via characteristics edition page. This creates some display issues in back-end and while importing, exporting data.  Thank you")*

Hi,

Thanks for clarification. Any solution is welcome here, even adding new selection method ![:)](/media/kunena/emoticons/3.png ":)")

Thanks again

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