Keyword

Using Google Fonts

  • Verdy Verdiansya
  • Verdy Verdiansya's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94723 by Verdy Verdiansya
Using Google Fonts was created by Verdy Verdiansya
Is there a way to use/embed Google Fonts to specific tag in K2.css, for example using a "Bevan" font only for H2 tags.

I'm a beginner in css, please anyone explain in easy English :D

 

Thanks before.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 6 months ago #94724 by Yiota
Replied by Yiota on topic Using Google Fonts
Yes, of course you can do that. First of all add the google font code at the top of the CSS file.

Then locate the div container you want and add font-family: 'Bevan', ...

Please Log in or Create an account to join the conversation.

  • Verdy Verdiansya
  • Verdy Verdiansya's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94725 by Verdy Verdiansya
Replied by Verdy Verdiansya on topic Using Google Fonts
Awesome... Thanks @Yiota Ziaggou

But I still don't understand the "how-to".. 

Any screenshot or sample code & where to put the Google Font API codes inside the k2.css?

Forgive my noobness -___-

 

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 6 months ago #94726 by Yiota
Replied by Yiota on topic Using Google Fonts
Just put this @import url(fonts.googleapis.com/css?family=Bevan); on the top of the file, right before the /* --- Basic typography --- */

Please Log in or Create an account to join the conversation.

  • Verdy Verdiansya
  • Verdy Verdiansya's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94727 by Verdy Verdiansya
Replied by Verdy Verdiansya on topic Using Google Fonts
Sweet.. I'll try :)

Thanks a bunch!!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum