HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Select a category dropdown menu CSS selector
Elle
New
Greetings
When starting a new discussion and press 'select a category' there'll be a dropdown menu. I'd like to change the fonts in this dropdown menu, but have been unable to find the correct selector for it. I'm using Vanilla 3.3 with the Keystone theme.
Thank you in advance.
0
Comments
hi @Elle. Try
select#Form_CategoryID option {}
Hi and thank you for your reply. Unfortunately it had no effect.
Don't forget to clear cach.
Thank you again. It didn't work unfortunately.
Here's the drop down menu
If you want to change font-family in dropdown menu add this string in your stylesheet (e.g.):
select#Form_CategoryID option {font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Courier New", "monospace"}
It works for me.
Edit: it actually does work thank you! It just didn't with the Google fonts I'm using. Not sure it'll be possible to use Google font in the dropdown menu.
Oddly enough it doesn't work for me. Tried to add !important as well just in case.