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

#   Is it possible to change the font on a characteristics dropdown ?

##

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago [\#294739](#294739) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294739 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")* was created by *[markfell](/forum/user/27962-markfell "View markfell's Profile")*

-- HikaShop version -- : 3.4.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : No error message

@forum, @support,

I am thinking this in not possible, but if I have a FONT Variant as a dropdown.
Is there anyway, I can change each line to represent the actual Font?

See attached font list.

Thanks in advance,
MSF

- [ ![font-styles.png](/forum/attachment/44060) ](/forum/attachment/44060 "font-styles.png") [ ](/forum/attachment/44060?download=1 "font-styles.png")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 4 months ago [\#294756](#294756) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294756 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hello,

Can you give us more information about what you want to achieve through some screenshots so that we can properly help you ? Thank you.

Best regards,
Mohamed Thelji.

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago [\#294787](#294787) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294787 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Thanks for the reply.
I have attached the drop down of the font list, can those be changed to the corresponding font types ?

So if strikethrough was on that list could it show as [strike]stritkethrough[/strike]

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

8 years 4 months ago -  8 years 4 months ago [\#294808](#294808) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294808 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hello,

I see **2** solutions :
**Each** value have his **own html class** and you can add some **custom css** code in your frontend file css, this kind of code may do the trick : Code:

html_class_font_1 { font-family: value 1 } html_class_font_2 { font-family: value 2 }

Note : See [ **this tutorial**](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom).

**OR**, you add **directly** in each **dropdown value** your inline style css :
*Before* :
**font-family name**
*After* :
**&lt;span style="font-family: value 1"&gt;font-family name 1&lt;/span&gt;**

Hope these solutions will fit your needs.
Regards

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

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago -  8 years 4 months ago [\#294817](#294817) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294817 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Philippe,

Thank you a simple &lt;span style="font-family:Brush Script MT Italic;"&gt;Brush Script MT Italic&lt;/span&gt; in the Characteristics works and displays like a charm for the **radio button**.

The drop down looks like this, and the &lt;span&gt; is dropped by the front end.

&lt;select id="hikashop_product_characteristic_60" name="hikashop_product_characteristic[60]" class="inputbox" size="1" onchange="return hikashopUpdateVariant(this);"&gt;
&lt;option value="61" selected="selected"&gt;Brush Script MT Italic&lt;/option&gt;
&lt;option value="62"&gt;Calibri Regular&lt;/option&gt;
&lt;option value="63"&gt;Cooper Black&lt;/option&gt;
&lt;option value="64"&gt;Forte Regular&lt;/option&gt;
&lt;option value="65"&gt;Lato Bold&lt;/option&gt;
&lt;option value="68"&gt;Monotype Corsiva&lt;/option&gt;
&lt;option value="66"&gt;Montserrat Black&lt;/option&gt;
&lt;option value="67"&gt;Montserrat Bold&lt;/option&gt;
&lt;option value="69"&gt;Shadows Into Light&lt;/option&gt;
&lt;/select&gt;

Thank you.

MSF

Last edit: 8 years 4 months ago by [markfell](/forum/user/27962-markfell "View markfell's Profile"). Reason: The dropdown gets the class="inputbox" against it. How do I change the attributes for this class for each dropdown option ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTUxNDItaXMtaXQtcG9zc2libGUtdG8tY2hhbmdlLXRoZS1mb250LW9uLWEtY2hhcmFjdGVyaXN0aWNzLWRyb3Bkb3duP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

8 years 4 months ago [\#294876](#294876) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294876 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

You would have to remove it from the file administrator/components/com_hikashop/types/characteristic.php
However, a better solution would be to edit the file "show_block_characteristic" via the menu Display&gt;Views and change the line: Code:

echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) . '&lt;/div&gt;';

to: Code:

echo str_replace('class="inputbox"','',$this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params)) . '&lt;/div&gt;';

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago [\#294897](#294897) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294897 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

Thanks for the code change. Didn't help with the dropdown, just removed the class.

In the characteristic for the first dropdown I have this: **&lt;span style="font-family:Brush Script MT Italic"&gt;Brush Script MT Italic&lt;/span&gt;**
and the same for the respective font characteristics.

But that gets stripped out.

&lt;select id="hikashop_product_characteristic_60" name="hikashop_product_characteristic[60]" size="1" onchange="return hikashopUpdateVariant(this);"&gt;
&lt;option value="61" selected="selected"&gt;Brush Script MT Italic&lt;/option&gt;
&lt;option value="62"&gt;Calibri Regular&lt;/option&gt;
&lt;option value="63"&gt;Cooper Black&lt;/option&gt;
&lt;option value="64"&gt;Forte Regular&lt;/option&gt;
&lt;option value="65"&gt;Lato Bold&lt;/option&gt;
&lt;option value="68"&gt;Monotype Corsiva&lt;/option&gt;
&lt;option value="66"&gt;Montserrat Black&lt;/option&gt;
&lt;option value="67"&gt;Montserrat Bold&lt;/option&gt;
&lt;option value="69"&gt;Shadows Into Light&lt;/option&gt;
&lt;/select&gt;

Any other Ideas on how this will work.. Its works perfect with a radio button, see attached.

Thanks,

MSF

- [ ![fonts-radio-button.PNG](/forum/attachment/44098) ](/forum/attachment/44098 "...dio-button.PNG") [ ](/forum/attachment/44098?download=1 "...dio-button.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTUxNDItaXMtaXQtcG9zc2libGUtdG8tY2hhbmdlLXRoZS1mb250LW9uLWEtY2hhcmFjdGVyaXN0aWNzLWRyb3Bkb3duP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

8 years 4 months ago [\#294915](#294915) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294915 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

You should not add the CSS directly in the characteristic value.
You can do that will simple CSS code that you can add in the HikaShop CSS or your template CSS and no PHP modification.
For example: Code:

.hikashop_product_characteristic_60 option[value=61] { font-family:Brush Script MT Italic; }

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago [\#294999](#294999) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#294999 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hello,

I tried this, put it in the custom1.css in the CSS Options.
It didn't get picked up, also tried in the custom.css of the template, same result.

Why does it work with radio buttons and not the dropdown ?

Regards,
MSF

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTUxNDItaXMtaXQtcG9zc2libGUtdG8tY2hhbmdlLXRoZS1mb250LW9uLWEtY2hhcmFjdGVyaXN0aWNzLWRyb3Bkb3duP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 4 months ago [\#295022](#295022) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295022 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

Selector is : Code:

\#hikashop_product_characteristic_60 option[value="61"]

Please understand that we are going outside the limit of our support since it's related to customization and creation of CSS rules (which is not direct HikaShop stuff).

Regards,

---

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

The following user(s) said Thank You: [markfell](/forum/user/27962-markfell "View markfell's Profile")

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

- **[markfell](/forum/user/27962-markfell "View markfell's Profile")**
- [![markfell's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar27962.png)](/forum/user/27962-markfell "View markfell's Profile") Topic Author
- [ Offline](/forum/user/27962-markfell)

Less More

- Posts: 135
- Thank you received: 5
-
-

8 years 4 months ago [\#295067](#295067) by [markfell](/forum/user/27962-markfell "View markfell's Profile")  Replied by *[markfell](/forum/user/27962-markfell "View markfell's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295067 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Thank you, Thank you, Thank you,
Works like a dream : )

You guys rock.

MSF

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

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

Less More

- Posts: 515
- Thank you received: 22
-
-

8 years 4 months ago [\#295206](#295206) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295206 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

I would like to achieve the same effect in a custom field dropdown where one can select a font. I added a ccs line in my template:

.test_lettertypen option[value=1] {
font-family:Courier New;
}

where the single dropdown has the column_name "test_lettertypen" (see attachement).

Unfortunately, this does not work. Is there a simple solution?

- [ ![font&#95;selector.jpg](/forum/attachment/44174) ](/forum/attachment/44174 "font&#95;selector.jpg") [ ](/forum/attachment/44174?download=1 "font&#95;selector.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTUxNDItaXMtaXQtcG9zc2libGUtdG8tY2hhbmdlLXRoZS1mb250LW9uLWEtY2hhcmFjdGVyaXN0aWNzLWRyb3Bkb3duP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

8 years 4 months ago [\#295214](#295214) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295214 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

You can do that yes. However, the class test_lettertypen doesn't exists.
The class is hikashop_item_test_lettertypen_line if you look at the HTML of the area where the select is with the HTML inspector of the developer tools of your browser.

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

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

Less More

- Posts: 515
- Thank you received: 22
-
-

8 years 4 months ago [\#295248](#295248) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295248 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi Nicolas,

Yes, I found that before in Firebug, but that also didn't work when using:

.hikashop_item_test_lettertypen_line option[value=1] {
font-family:Courier New;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTUxNDItaXMtaXQtcG9zc2libGUtdG8tY2hhbmdlLXRoZS1mb250LW9uLWEtY2hhcmFjdGVyaXN0aWNzLWRyb3Bkb3duP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14299
-
-

8 years 4 months ago [\#295260](#295260) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295260 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

Try like that then:
.hikashop_item_test_lettertypen_line option[value="1"] {
font-family:Courier New !important;
}
Please understand that this is purely CSS customization, and has nothing to do with HikaShop itself.

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

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

Less More

- Posts: 515
- Thank you received: 22
-
-

8 years 3 months ago [\#295314](#295314) by [jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")  Replied by *[jouwnaambord.nl](/forum/user/1188-jouwnaambord-nl "View jouwnaambord.nl's Profile")* on topic *[Is it possible to change the font on a characteristics dropdown ?](/forum/26-product-category-display/895142-is-it-possible-to-change-the-font-on-a-characteristics-dropdown#295314 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.6.3 -- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit) -- Error-message(debug-mod must be tuned on) -- : No error message  @forum, @support,  I am thinking this in not possible, but if I have a FONT Variant as a dropdown. Is there anyway, I can change each line to represent the actual Font?  See attached font list.  Thanks in advance, MSF")*

Hi,

Thanks, allready tried that. I understand, will figure it out myself.

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

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