All problems related to OSP Templates like: OSP Template, OSP Transparent, OSP Map, OSP Real Estate, OSP T3 Map and OSP Realty

re: Google fonts

  • Urszula Dziki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 8 months ago #123677 by Urszula Dziki
re: Google fonts was created by Urszula Dziki
Hello Guys ...first of all great theme thank you. I am trying to figure out how to add other google fonts I would like to change. For some reason, I am a bit lost. Can anyone point me to right direction?

I am a bit behind as I haven't work on sites for at least 6 years. It used to be simpler. Appreciate your time to anwser.

<style>
@import url(' fonts.googleapis.com/css?family=Cedarvil...+Sugiyama|sans-serif ');
</style>


font-family: 'Dr Sugiyama', cursive;

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

More
5 years 8 months ago #123678 by Mr. Dam
Replied by Mr. Dam on topic re: Google fonts
Hi,
What's the template you are mentioning to?
Thanks
Dam

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

  • Urszula Dziki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 8 months ago #123681 by Urszula Dziki
Replied by Urszula Dziki on topic re: Google fonts
Thank you Mr Dam for such a quick reply - you are my hero! The template I am using is:
OSP Real Estate default
Thank you so much. So sorry for assuming that you can read my mind :)

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

  • Urszula Dziki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 8 months ago #123682 by Urszula Dziki
Replied by Urszula Dziki on topic re: Google fonts
Thank you Mr Dam for such a quick reply - you are my hero! The template I am using is:
OSP Real Estate default
Thank you so much. So sorry for assuming that you can read my mind :)

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

  • Truong Tong Quang
  • Offline
  • Junior Member
  • Junior Member
More
5 years 8 months ago #123688 by Truong Tong Quang
Replied by Truong Tong Quang on topic re: Google fonts
Hi,
Can you add the google font you would like to use in the assets.xml file (located in the templates/osprealestate/etc folder).
For example:
<stylesheets>
<file> fonts.googleapis.com/css?family=Roboto:400,100,300
</stylesheets>
Then you add css in custom.css
body {
font-family: "Roboto", sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Roboto", sans-serif;
}
Please check it and get back to me
Thanks,
Truong

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

  • Urszula Dziki
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 8 months ago #123691 by Urszula Dziki
Replied by Urszula Dziki on topic re: Google fonts
Thank you beautiful Truong...xoxo

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

Moderators: Mr. Dam