Where is this class assigned?

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Snigx
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sat Mar 16, 2013 12:27 pm

Where is this class assigned?

Post by Snigx » Sat Sep 07, 2013 2:33 pm

In the joomla 2.5 demo: http://joomla25.cloudaccess.net/

Im trying to find where this class is assigned to the "about joomla!" menu: <div class="moduletable_menu"> I know the class itself is located in beez_20/css/layout.css line 233 but I cannot figure out where the menu gets the class?

Thx in advance :)

/SnigX

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Where is this class assigned?

Post by pe7er » Sat Sep 07, 2013 2:49 pm

Snigx wrote:Im trying to find where this class is assigned to the "about joomla!" menu: <div class="moduletable_menu">
Actually, it's a combination between "moduletable" & "_menu".

"moduletable" is assigned in /modules/mod_menu/tmpl/default.php

Code: Select all

<ul class="menu<?php echo $class_sfx;?>"<?php
And "_menu" is assigned in the parameters of the menu module (Extensions > Module Manager > the parameters of your menu module (module class suffix), see http://docs.joomla.org/Module_Class_Suffix
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Snigx
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sat Mar 16, 2013 12:27 pm

Re: Where is this class assigned?

Post by Snigx » Sun Sep 08, 2013 5:43 pm

Ahh ok,.. I'm not sure I can figure out how to do this... :P
Well what I'm actually trying to do is to style the modules that is put in the right pane of my site.

It is easy of cause to style the div(s) for the positions. But what if i have two modules in one div that both need to have some border and color? How to? :)

/SnigX


Locked

Return to “Templates for Joomla! 2.5”