Cufon font question
- GK User
- Thu Apr 28, 2011 7:18 am
Hi gavick team, I have a question on cufon font
I understand how to add cufon font in the K2 item titles but I can't understand how to add it on Photoslide titles and NSP titles in my homepage.
I tried to understand something inside cufon.php but I did't understand anything.
here a screenshot to let you understand better...
I understand how to add cufon font in the K2 item titles but I can't understand how to add it on Photoslide titles and NSP titles in my homepage.
I tried to understand something inside cufon.php but I did't understand anything.
here a screenshot to let you understand better...
Schermata-2011-04-28-a-10.03.14.gif
-

- Expert Boarder
- GK User
- Sun May 01, 2011 3:29 pm
...
-

- Expert Boarder
- teitbite
- Sun May 01, 2011 9:45 pm
Hi
You need to add it to css. For example to add it to Photoslide You need this code:
You need to add it to css. For example to add it to Photoslide You need this code:
- Code: Select all
.gk_is_text h4 {
font-family:NAME_OF_THE_FONT;
}
-

- Moderator
- GK User
- Sun May 01, 2011 11:42 pm
@Teitbite
I don't think that's what @amsterdam wants.
To add cufon class elements, you need to add it on ../layouts/blocks/cufon.php
For example, find this line:
and replace with
Cheers
I don't think that's what @amsterdam wants.
To add cufon class elements, you need to add it on ../layouts/blocks/cufon.php
For example, find this line:
- Code: Select all
'h2.latestItemTitleList'
and replace with
- Code: Select all
'h2.latestItemTitleList',
'.gk_is_text h4 a'
Cheers
-

- Platinum Boarder
- GK User
- Mon May 02, 2011 11:13 am
ok, thanks! 

-

- Expert Boarder
5 posts
• Page 1 of 1
