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


Messages In This Thread
automatic classes in menu structure - by Connie - 2011-03-29, 23:30:02
automatic classes in menu structure - by mvlcek - 2011-03-30, 00:14:13



Users browsing this thread: 1 Guest(s)