using your nice fonts in a regular joomla article

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
Tue Sep 11, 2012 7:04 am
Reply with quote
Report this post
I was wondering, can I get this nice, thin font (like the word "search" in the searchbox)
to appear as one of the choices in my jce editor? If so, please provide some detail as Im
quite a beginner ) Thanks!
User avatar
Senior Boarder

Konrad M
Tue Sep 11, 2012 7:28 am
Reply with quote
Report this post
Hi,
unfortunetly you can't, but you can add some class to all words you want to write using this font and then go to template settings. In font section please add your class to selectors which using 'Lato' font. For example if you have some text in your editor, go to html view and add span to this words
Code: Select all
<span class="myfont">word or sentence</span>

and in template settings please add
Code: Select all
.myfont
User avatar

GK User
Wed Sep 12, 2012 4:32 am
Reply with quote
Report this post
Thanks - did you mean to actually write "my font" or the font name? I placed it in the list of "Lato" specs (after last one), than did what you mentioned in the html of the article, to no avail.
User avatar
Senior Boarder

Konrad M
Fri Sep 14, 2012 12:45 pm
Reply with quote
Report this post
Can you explain your question little more ? I'm not sure what you mean.
User avatar

GK User
Mon Sep 17, 2012 9:58 pm
Reply with quote
Report this post
pls take a look at these screenshots. They show what I did.

-------------------------------------------------------------------------------------


Konrad M wrote:Can you explain your question little more ? I'm not sure what you mean.
User avatar
Senior Boarder

Konrad M
Tue Sep 18, 2012 7:11 am
Reply with quote
Report this post
Ok now I see. When you are adding selector in template settings you have to separate them using coma. You add class but you didn't add coma before. So, your settings are:
Code: Select all
p.numblocks span
.myfont

and should be:
Code: Select all
p.numblocks span,
.myfont

Try it. And if you are using cache option remember to clear cache after you made this changes.
User avatar


cron