Solved

Ammending the way menus are output in Joomla!

Posted on 2011-02-28
2
547 Views
Last Modified: 2012-05-11
Experts,

Im trying to incorporate a css menu into a joomla template.

Im trying to edit the way joomla ouputs the menu to get this format:
......
<ul id="qm0" class="qmmc">
      <li><a class="qmparent" href="javascript:void(0)">xxxxx</a>
            <ul>
            <li><span class="qmtitle" >yyyyy</span></li>
.......

I can change the id in the menu parameters easily enough, the problem comes when trying to change the class. Joomla always seems to output [class='menu'] then allows you to add a suffix, but i cant seem to see how to edit the first bit i.e. [class='qmmc']. Can this be changed?

Also is there a way to alter the actual template of the menu?

Regards
Easynow
0
Comment
Question by:Dean OBrien
2 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 35001213
0
 
LVL 12

Author Closing Comment

by:Dean OBrien
ID: 35009584
Great thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
targeting between desktop and responsive menu 3 32
CSS measurement 10 34
Gradient CSS 4 30
Crazy text will not be removed no matter what I try! 13 15
This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now