Post by kazihaha » Wed Jun 29, 2016 4:09 pm

I saw this line in my source

Code: Select all

<link
rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto+Slab:regular,700%7COswald:regular%7CRoboto:regular,700,500&subset=latin"/>
Could I self host these font on my host?
Please help me.

https://sieuthithietbivanphong.com


New member

Posts

Joined
Wed Sep 23, 2015 2:13 pm

Post by viethemes » Wed Jun 29, 2016 10:37 pm

You should contact the theme developers to take a look at this. They know their product the best :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by kazihaha » Thu Jun 30, 2016 10:53 am

I did it myself :v

https://sieuthithietbivanphong.com


New member

Posts

Joined
Wed Sep 23, 2015 2:13 pm

Post by OSWorX » Thu Jul 07, 2016 9:59 pm

viethemes wrote:You should contact the theme developers to take a look at this. They know their product the best :)
Has basically nothing todo with any developer.
How to do so read (e.g.) here:
http://victorfont.com/use-google-fonts-locally/
https://developers.google.com/fonts/faq

Forum Rules: viewtopic.php?f=176&t=200480
Commercial Request: viewforum.php?f=88

Image


User avatar
Expert Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Rainforest » Thu Oct 05, 2017 1:34 am

I appreciate the link to the font file.
I did that, created a stylesheet but what Journal 2 theme file do we change the stylesheet link?

Active Member

Posts

Joined
Fri Jan 28, 2011 3:50 am

Post by motion2082 » Wed Jul 04, 2018 11:09 am

Hey mate,

Trying to do the same here

Journal pulls in the Google fonts in the header.tpl file

Line 58-60

Code: Select all

<?php foreach ($this->journal2->google_fonts->getFonts() as $font): ?>
<link rel="stylesheet" href="<?php echo $font; ?>"/>
<?php endforeach; ?>
I guess you could take this out and replace with a locally hosted Google Font

I'm trying to work it out too

Active Member

Posts

Joined
Tue May 12, 2015 8:48 pm
Who is online

Users browsing this forum: No registered users and 6 guests