Coding-Spot

You are not connected. Please login or register

 
 
 

About Cufon and add class.

Message (Page 1 of 1)

#1

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 10:25 am

 
hello mr.mark or someone on this forum :)
I want to ask :D

how to add cufon for text in navibar and title forum (post, topic, last post)
more details you can see this image:
About Cufon and add class. GoH1GJb
About Cufon and add class. CUbvkAK

how to change text with cufon?

this my code ^_^
Code:
<script src="http://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"></script>
<script src="http://static.tumblr.com/hhedat8/TpQmmtm7s/hemi-head-426.cufonfonts.js" type="text/javascript"></script>
<script>
Cufon.replace('#right .module-title', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
Cufon.replace('#right td.catHead', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
  Cufon.replace('.hierarchy a.forumlink', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
</script>

please help me ^_^

thanks before :D
http://budokai.indonesianforum.net/





#2

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 11:52 am

 
Here:
Code:
<script src="http://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"></script>
<script src="http://static.tumblr.com/hhedat8/TpQmmtm7s/hemi-head-426.cufonfonts.js" type="text/javascript"></script>
<script>
Cufon.replace('#right .module-title', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
Cufon.replace('#right td.catHead', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
Cufon.replace('.hierarchy a.forumlink', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
Cufon.replace('a.mainmenu', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
Cufon.replace('table.forumline th', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });
</script>



https://coding-spot.darkbb.com


#3

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 12:42 pm

 
ok its work mr.mark :D

but if to sub forum and topic, how?? :D
more details you can see this ^_^
About Cufon and add class. 1btLd3W
About Cufon and add class. BsRIUhG

please help me.. ^_^

thanks before mr.mark :)





#4

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 12:56 pm

 
Add this on the third script:
Code:
Cufon.replace('.nav', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });



https://coding-spot.darkbb.com


#5

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 1:32 pm

 
ok mr.mark work, :D

and last quest about cufon, i need change size for my cufon, like this
http://www.duelacademy.net/forum
About Cufon and add class. 0S4lWpE

and before size for my cufon, very small :(
About Cufon and add class. OJe5nz3
About Cufon and add class. U7LoOWa
About Cufon and add class. FAEj1m8

please help me mr.mark ^_^

thanks before :D





#6

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 1:38 pm

 
Add this beside the Cufon:
Code:
.set('fontSize', '14px')

So it should be something like this one:
Code:
Cufon.set('fontSize', '14px').replace('.nav', { fontFamily: 'HemiHeadFourTwentySix-Regular', hover: true });



https://coding-spot.darkbb.com


#7

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 2:28 pm

 
yes, its work ^^ xD

mr.mark :)
I forgot, what about all the widgets on the portal and title topic, what class? :D

i look in DA change title topic with cufon ^^
About Cufon and add class. TrbYb8n
http://www.duelacademy.net/t26925-turbo-duel-arena-wotnnd#258966

and this my widget in portal
About Cufon and add class. ZEJVbC8

how to change to cufon?
please help me mr.mark :D

thanks before :D





#8

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 3:07 pm

 
The class is:
Code:
.module-title

and:
Code:
td.t-title



https://coding-spot.darkbb.com


#9

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 3:51 pm

 
i forgot again mr.mark >.<
what class for footer and sub forum?
About Cufon and add class. IRQhwED

for footer, only this :)
About Cufon and add class. GabvIfz

thanks before mr.mark :D





#10

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 4:28 pm

 
Anything more? :o

Btw, here:
Code:
.text

and this one:
Code:
td.row1.over span.gensmall a.gensmall



https://coding-spot.darkbb.com


#11

weeknight

weeknight
 
Senior Member

Posted May 30th 2013, 4:32 pm

 
problem solved :D

thanks before ^__^

yeahhhh, thanks mr,mark :D





#12

Mark

Mark
 
Administrator
Administrator

Posted May 30th 2013, 4:43 pm

 
Since the problem is now solved i will locked this and move to archive section. ~Locked and Moved Happy



https://coding-spot.darkbb.com


#13

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None