Need a guide here .,custom class

More
7 years 7 months ago #1 by laurelle
Hi,

I haven't tried the fonts for the cufonfonts.com website. I have always used the generator to generate my on cufon fonts.

For more information on whether these fonts can be used, you would need to contact the Cufon developers. I just supply the plugin not the actual Cufon script. See https://github.com/sorccu/cufon/wiki/ for more information.

Laurelle
Developer
Keashly.ca Consulting

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

  • stigxt
  • Topic Author
7 years 7 months ago #2 by stigxt
Replied by stigxt on topic Need a guide here .,custom class
Hi laurele

thank you.will try this.

btw i have problem using the font from www.cufonfonts.com

Are these fonts straightforward?

usually the font that has underscore. "_" has the problem not sure if thats the problem.

thanks

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

More
7 years 7 months ago #3 by laurelle
Hi,

You don't need to add any JS for your custom css selector, the plugin will do that for you. Any CSS that is needed for your custom css selector other than what the plugin provides will need to be added to your css file. For example, if you wanted the .h1cufon to be a particular color, you would add that to your css file.

You use your css selectors exactly like you would any where else. The only difference is that some of the selectors, which you add in the cufon plugin will have a different font used on them.

So, if you have a header that you want to use a cufon font, you would specify it in the plugin and then use it as you noted below.

For a heading, you probably want to use a h1 - h6 tag rather than a p tag. You can have something like h1.cufonHeading and then put h1.cufonHeading in the plugin for the font you want it to use.

Cheers

Laurelle
Developer
Keashly.ca Consulting

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

  • stigxt
  • Topic Author
7 years 7 months ago #4 by stigxt
Need a guide here .,custom class was created by stigxt
Hey guys, tks for this excellent plugins.

All going well with h1,h2 etc . but i have issue for custom classes.

With this plugin i got confused if the custom class i enter at backend created for me automatically or i still need to manually add any css or js lines?

if Yes what are those?


i enter at backend "p.h1cufon" as my class

can i call it at <p class="h1cufon">My heading here</p> at my content? and is there any css i need to code manually.? i guess i dont need ?


thanks

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