I've been working on a Joomla 2.5 based website and have a submenu with a title at the top, displaying the name of the top menu category. The title currently has a background color, but now I want to have a different background color for the title on each page I open.
One solution I considered was creating an extra menu module for each menu item with a specific color defined in the CSS. However, I realized I would have to rename each module to avoid having the same name twice. The challenge is that I need the title to remain the same as the Topmenu category for all submenu items.
Here is the basic structure of the generated code:
<body>
<div id="content">
<div id="breadcrumbs"></div>
<div id="main" class="centerAndRight"></div>
<div id="right">
<div class="moduletable_servicemenu">
<h3>HERE IS THE TITLE</h3>
<ul class="menu"></ul>
</div>
<div class="moduletable_kontaktmodul"></div>
</div>
</div>
<!-- end content -->
<div id="overallfooter"></div>
</body>
If anyone has any ideas or suggestions, please feel free to share. Thank you in advance.