Won't work!

More
7 years 5 months ago #1 by laurelle
Replied by laurelle on topic Won't work!
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:
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
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #2 by rbuelund
Replied by rbuelund on topic Won't work!
Hmmm.. still doesn't work.... I've done the above.

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #3 by laurelle
Replied by laurelle on topic Won't work!
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:
  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
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #4 by rbuelund
Replied by rbuelund on topic Won't work!
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 ?

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #5 by laurelle
Replied by laurelle on topic Won't work!
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
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #6 by rbuelund
Won't work! was created by rbuelund
Hi

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

Please help!

Please Log in or Create an account to join the conversation.

Support Development

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



Joomla! Login

This is the normal Joomla! login module not the VirtueMart login module. Click the 'Create an account' button to see how you are redirected to the VirtueMart registration form when the KC VM Registration Redirect plugin is enabled.

Joomla! & WordPress Hosts

Managed Web Hosting by Liquid Web

This is our recommended web hosting provider for Joomla! & WordPress websites. This is the host that we use for websites that we build. Liquid Web has an excellent reputation, fast servers and most importantly awesome service! They have technicians that are familiar with Joomla! & WordPress.

Joomla! & WordPress Web Design and Development

If you are interested in having a website designed or redesign or need custom Joomla! or WordPress development, please visit Keashly.ca Consulting to view our Portfolio of Joomla! & WordPress website work.

Trademarks and logos remain the property of their respective organizations.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Keashly.ca Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top