-1

I have been wanting to add custom fonts to my website using css.I have tried downloading from google fonts but it is not working.any other way of adding these fonts?

1
  • Post some code so we can see why it's not working Commented Apr 5, 2014 at 7:45

2 Answers 2

1

If you want add google font. i think you don't need to download. Go to google font site https://www.google.com/fonts choose you font and click on quick use button

Then you need to copy the link href code into head in your html file and add the font name in css file

Sign up to request clarification or add additional context in comments.

Comments

0

first go to https://www.google.com/fonts , select your font and import it like this in your style.css

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);

now you can use with , for example

div p { font-family : 'Open Sans' , Sans-serif }

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.