Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navigation - Active link class
#2
soy Wrote:where are the files / lines to change the code, in which the navigation adds the 'class="current"' attribute to the active navigationpoint? I would like to cut it out there and paste it in the <a href=""> Attribute for the navigationpoints!

Why would you want to do that?
Any CSS rule a.current can also be defined as li.current a.
Changing code in GetSimple or a plugin is not a good idea as it makes updating to a new version much harder.

And if you still want to do it, just search for get_navigation or current in the /admin folder and below.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Navigation - Active link class - by soy - 2012-04-07, 22:36:53
Navigation - Active link class - by mvlcek - 2012-04-08, 00:08:27
Navigation - Active link class - by didou038 - 2012-04-08, 00:34:58
Navigation - Active link class - by soy - 2012-04-08, 03:11:09



Users browsing this thread: 1 Guest(s)