Omit or exclude tags

More
9 years 4 months ago #1 by laurelle
Replied by laurelle on topic Omit or exclude tags
Hi Patrick,

You need something that will make the top level menu item links unique, so you can target just them. Right now, there isn't anything unique, so the sub-menu links are being replaced as well. Can you change your menu module template, so only the top level menu items have an unique class on the a element? Then you can use that class to target the top level menu items.

I don't remember seeing anything in the Cufon documentation about being able to untarget a selector. But, you can review the Cufon documentation and see if you can find anything about that. They also have a forum that you could post a help request in. This might be a limitation/feature of Cufon.

Laurelle.

Laurelle
Developer
Keashly.ca Consulting

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

More
9 years 4 months ago #2 by hawkmultimedia
Replied by hawkmultimedia on topic Omit or exclude tags
Thanks for the quick response. When I use li.parent a, it does not replace item1 or item106, so the specificity is working. However, all of the submenu items are still replaced and adding span, unfortunately, has no effect.

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

More
9 years 4 months ago #3 by laurelle
Replied by laurelle on topic Omit or exclude tags
Hi Patrick,

Glad you like the plugin.

What you will need to do is get more specific in your css selectors that you use. Try:

li.parent a, li.active a, li.item106 a,li.item1 a

instead of: ul#menu

You might need the span in the selector as well, ie li.parent a span, etc.

Hope that helps,
Laurelle

Laurelle
Developer
Keashly.ca Consulting

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

More
9 years 4 months ago #4 by hawkmultimedia
Hi, I'm loving this plugin, thank you!

Only thing is I can't figure out how to NOT replace a font on submenu items when applied to a ul#menu . The site is at 67.225.169.216/~meri/

Any help would be appreciated.

Thanks,
Patrick

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

Joomla! & WordPress Hosts

Liquid Web 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. Their technicians go above and beyond what other hosting providers do, in our opinion.

  

Liquid Web Managed Word Press   

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 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