Alex Plaksin

Adding custom font in ThemeMagic (BT Travel v2)

4 posts in this topic

Is there any documentation how to manage Costum font in Typo tab (in ThemeMagic)?

I need to use Google font Ubuntu Condensed in headers and in menu.

In previous BT Travel I made it via template settings and some fixes in /fonts

What are font management rules for BT Travel v2?

Share this post


Link to post
Share on other sites

For those who interested :)

I finally find where to put them B)

line which links font itself


<link href='http://fonts.googleapis.com/css?family=FONTNAME' rel='stylesheet' type='text/css'>

goes to: /templates/bt_travel/tpls/default-content-left.php

And line


font-family: 'FONTNAME', sans-serif;

goes to some css files in /t3-assets/css/

and it works ok

Share this post


Link to post
Share on other sites

For those who interested :)

I finally find where to put them B)

line which links font itself


<link href='http://fonts.googleapis.com/css?family=FONTNAME' rel='stylesheet' type='text/css'>

goes to: /templates/bt_travel/tpls/default-content-left.php

And line


font-family: 'FONTNAME', sans-serif;

goes to some css files in /t3-assets/css/

and it works ok

You are welcome, but don't write your css in /t3-assets/css/, because, it is cache only, please write your css in: templates/bt_travel/css/custom.css

and your font link, you should to add in:

..\templates\bt_travel\tpls\blocks\head.php

Regards.

Share this post


Link to post
Share on other sites