Home › Forums › Backend Issues (wp-admin) › Font Selector › Reply To: Font Selector
This can be achieved by the following steps:
1. Add some jQuery to the wp-admin which looks at the select field and uses each option’s value to add a class to the option tag. This will allow you to target the option elements with CSS
2. Add some CSS to the wp-admin which uses the previous classes to add the font-family attribute!
Good luck
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.