Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
automatic classes in menu structure
#1
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...ch-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...)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#2
What do you use for creating the child menu?
My Github Repos: Github
Website: DigiMute
Reply
#3
Connie Wrote: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...)

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 { ... }
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply




Users browsing this thread: 1 Guest(s)