Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ammending the way menus are output in Joomla!

Posted on 2011-02-28
2
Medium Priority
?
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

721 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