Author Topic: How to increase Cufon font size  (Read 14015 times)

Kumail

  • Newbie
  • *
  • Posts: 7
How to increase Cufon font size
« on: May 05, 2012, 01:44:32 PM »
Hi,

I am trying to use cufon fonts for my page but problem is that even after adding it successfully, I can't change font size . I have done following:

Included following in my page:

Code: [Select]
<script type="text/javascript" src="cufon.js"></script>
<script type="text/javascript" src="junction_400.font.js"></script>

Code: [Select]
Cufon.replace('#menu ul li, ', { fontFamily: 'Junction' });

And font is changed but can't change size of font doing following :
Code: [Select]
#menu ul li {
font-size: 1.2em;
}

It has no effect on it.
Please help.

 

X

Do you know?

IfAndBut.com gives you a platform where you can ask questions related to web and internet..
So, why wait..
Join Now!