add a Google font (Pacifico) to the template

Support desk for Villa Belluci Joomla Hotel Template
GK User
Thu Oct 27, 2016 11:21 am
Hi
is there a way to add a new Google font without replacing the installed ones in the template ?
Thanks
User avatar
Gold Boarder

teitbite
Sat Oct 29, 2016 9:52 am
Hi

There is couple of fields in Font section for new fonts. Use for example the last one and add some other css selectors for it.
User avatar
Moderator

GK User
Thu Nov 03, 2016 10:06 am
Thanks teitbite
So, changing the "Other II - font' (Standard)" with Google Fonts won't make me lose Standard fonts used in the template ?
Ok then.
User avatar
Gold Boarder

teitbite
Tue Nov 08, 2016 3:14 pm
Hi

It would if anything would be defined there, but as default there is no classes there, so it's simply waiting for new font to be added. In my screen You can see that "body" is mentioned in relation to first font, so this would be the standard one used on website.
User avatar
Moderator

GK User
Fri Jun 30, 2017 2:00 pm
Hi teitbite
I can see my website is not really optimized to reach Google specifications for page speed
one solution would be to call Google fonts in one line
ex :
Code: Select all
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans:normal,italic">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lobster:bold,bolditalic">

should be
Code: Select all
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Droid+Sans:normal,italic|Lobster:bold,bolditalic">

How can I do that ? I can't find what file is calling Google fonts.
Thanks
User avatar
Gold Boarder

teitbite
Sat Jul 01, 2017 10:44 am
Hi

If You got the link like that than best is to disable template's option to add it and copy Your generated line into /layouts/blocks/head.php
User avatar
Moderator

GK User
Mon Jul 03, 2017 2:54 pm
Thanks Teitbite
Ideed, I didn't think about that simple way.
:)
User avatar
Gold Boarder

teitbite
Tue Jul 11, 2017 1:07 pm
Hi

Sometimes simplest is best :) Glad it's working now. Closing this thread.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.