Log in

View Full Version : Change font family in drop down list



theremotedr
02-19-2016, 05:21 PM
You can use this page as an example http://www.theremotedoctor.co.uk/accaudi.html?scrollto=selection
I would like to edit the text font for the ios, Pc is fine as it is.

Using Firebug i have located where to change the font in the Pc drop down list but not for the ios.
Ive then manually looked through the basic-style & normalize css file but dont see anything that points to where to make the change.

In my html file i cahnged the code below

<li class="current">
<li><a href="website_instructions.html?scrollto=content">Instructions</a>

To

<li class="dropfont">
<li><a href="website_instructions.html?scrollto=content">Instructions</a>

I then added the following to the css file.

.dropfont{
font-family:'Lucida Handwriting', sans-serif;}

The above was just a test to see if anything changed, but no such luck.

mlegg
02-19-2016, 05:37 PM
these are the only fonts that IOS6 recognizes https://support.apple.com/en-us/HT202599
IOS7 has some more https://support.apple.com/en-us/HT202771

lucida handwriting is not recognized

theremotedr
02-19-2016, 06:00 PM
Ha Ha Ha.
I thought i was going mad and all along ios doesnt support it.

mlegg
02-20-2016, 01:35 AM
I never realized that until last year when my friend wanted a specific font and it didn't work. I thought that I was going crazy.

Beverleyh
02-20-2016, 10:17 AM
You might want to look into font stacks so that you can be a bit more creative with font choices while offering similar alternative fallbacks for when your first choice isn't installed on the viewing device https://www.google.co.uk/search?q=font+stacks