automatic classes in menu structure - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: automatic classes in menu structure (/showthread.php?tid=1490) |
automatic classes in menu structure - Connie - 2011-03-29 I just stumbled upon a situation, which astonished me: I am building a complete new testinstallation of GS 3 and try to note all plugins which I use. So i created a page "p01-contact" And what did I notice in my sidemenue? http://www.urbanistan.de/getsimple/index.php?id=plugins-die-ich-benutze this list-item had yellow background. The reason? I assume that per default classes are added to the items: so in this case this classes: Code: <li class="p01-contact plugins-die-ich-benutze"> and as I had defined a class for the p01-plugin, this class was added automatically .. Where can I change this behaviour and what is the reason for this behaviour? Is it standard or from a plugin? (all my plugins are listed at that page...) automatic classes in menu structure - n00dles101 - 2011-03-30 What do you use for creating the child menu? automatic classes in menu structure - mvlcek - 2011-03-30 Connie Wrote:I assume that per default classes are added to the items: so in this case this classes: This behaviour is standard for the GetSimple navigation and was also included in the navigation of the I18N plugin. It can be used to style specific navigation entries, e.g. make home page red and legal information very small. There is no way to switch it off. You should rather make sure that the page content is included in a div with e.g. id="content" in the template and qualify all your styles with the id, e.g. Code: #content p01-contact { ... } |