Home > KC Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Page: 1
TOPIC: Won't work!
#507
Won't work! 6 Months, 4 Weeks ago  
Hi

I can't get the default fonts to work on this site: thesi-site.partner.ableit.dk/

Please help!
rbuelund
Fresh Boarder
Posts: 3
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#508
Re: Won't work! 6 Months, 4 Weeks ago  
Hi,

You have to set your css selectors to match what you want to use the cufon font for. The text in your h1s are wrapped in a span, so you will need to set the css selector to h1 span. I also notice that you are using JQuery on the site, but it doesn't seem to be in no conflict mode. You may also have to add that to get Cufon to work with your Rocket Theme template.
laurelle
Admin
Posts: 244
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#509
Re: Won't work! 6 Months, 4 Weeks ago  
I don't understand - what exactly should I write in the CSS selector field to show the line "H1 - Linje" With the Cufon font ??
About the JQuery - add what exactly ?
rbuelund
Fresh Boarder
Posts: 3
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#510
Re: Won't work! 6 Months, 4 Weeks ago  
Hi,

As I wrote above you need to use "h1 span" rather than just "h1" in the plugin parameters.

You need to add the following code in the head of your template:
Code:


  jQuery.noConflict();


or find a plugin that adds the noConflict javascript for you. Note that the code above needs to be put inside script tags.
laurelle
Admin
Posts: 244
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#511
Re: Won't work! 6 Months, 4 Weeks ago  
Hmmm.. still doesn't work.... I've done the above.
rbuelund
Fresh Boarder
Posts: 3
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#512
Re: Won't work! 6 Months, 4 Weeks ago  
Hi,

You have all the correct code in the source code now, so I believe that there is a conflict with cufon and your other javascript. Probably this code:

Code:


window.addEvent('domready', function() {
var modules = ['rt-block'];
var header = ['h3','h2','h1'];
GantryBuildSpans(modules, header);
});



To get help with what the problem might be, you will need to contact the Cufon developers, see: cufon.shoqolate.com/generate/. I am not the Cufon developer, I only provide an easy way to add Cufon to a Joomla website.
laurelle
Admin
Posts: 244
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  • Website
    Services

Support Development

Please consider a small donation to support development of the extensions on this site.
 

Joomla! Web Hosts

These are our recommended web hosting providers for Joomla! websites. These are hosts that we use for website that we build. All have an excellent reputation, fast servers and most importantly awesome service! They all have technicians that are familiar with Joomla!

Liquid Web Shared and Fully Managed VPS and Dedicated Web Hosting

Rochen Joomla Shared or Managed VPS Web Hosting

WiredTree Fully Managed VPS and Dedicated Web Hosting

HostGator Shared and Fully Managed VPS and Dedicated Web Hosting

PHP - MySQL - Apache - W3 Valid