Adding a Font

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Aug 03, 2015 10:00 pm
Reply with quote
Report this post
Hello,

I would like to add new font. Have tried to follow literature but not working.

Adding Permanent Marker

1. Added to default.php - after <head tag>:
<head>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Permanent Marker">
<style>
body {
font-family: 'Tangerine', serif;
font-size: 48px;
}
</style>

2. I then added to template config:

Other 1 font:

http://fonts.googleapis.com/css?family=Permanent+Marker

Selector

.gkText
h1

But when I try to add to module... it does not work

<h6 class="gkCentered"><span style="color: #000000; font-family: Permanent+Marker;"><a style="color: #000000;" href="http://www.annelizebester/">Annelize Bester Photography</a></span></h6>



</head>
User avatar
Gold Boarder

GK User
Mon Aug 03, 2015 10:34 pm
Reply with quote
Report this post
Hi,
I guess you made few mistakes during adding a new google font
it's quite strange becuase our guide is easy to understand and in most cases all works just fine.

But okey, as you could read on Google font,
if you want to use : Permanent Marker in style, you have to use

style="font-family: 'Permanent Marker', cursive;"

copy whole mark by mark :!:
never was "+" inside!
User avatar
Platinum Boarder


cron