Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Ammending the way menus are output in Joomla!

Posted on 2011-02-28
2
Medium Priority
?
554 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 2000 total points
ID: 35001213
0
 
LVL 12

Author Closing Comment

by:Dean OBrien
ID: 35009584
Great thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

972 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