WordPress.org

Ready to get started?Download WordPress

Forums

Drop down box with available font family (2 posts)

  1. yAnn1ck
    Member
    Posted 2 years ago #

    Hi,

    I am making an extra admin panel to change my fonts, so far so good. However I want a user to also be able to modify the font family using a drop down box, but I can't seem to find much info on how to do this.

    How can I make a dropdown font family box in the admin section?

    Thanks a lot,

    (my apologies if this question was asked before and i couldn't find it, because I'm guessing it has been asked before ^^)

  2. s_ha_dum
    Member
    Posted 2 years ago #

    Unless you specifically load fonts by means of something like the Google font loader, the available fonts are those fonts stored/installed on the client machine-- on the visitor's computer. I don't know if the browser has access to that information-- certainly the back-end (server-side) PHP script does not, but you may be able to do it with Javascript.

Topic Closed

This topic has been closed to new replies.

About this Topic