Let's say we have 2 sections with pages like this structure:
/section1 *
/section1/page1-1 **
/section1/page1-1/page1-1-1 **
/section1/page1-1/page1-1-2 **
/section1/page1-2 **
/section1/page1-3 **
/section2 *
/section2/page2-1 **
/section2/page2-2 **
- = Link in main menu / ** = Link in custom menu (sidebar)
and so on.
The main menu of Bartik theme is not supporting sub-links, so I created custom menus, which are visible to each section (content type pages) in the sidebar.
Now I want to have the main navigation element of section1 root (/section1) be always having css-class "active" if any subpage of section1 is being browsed.
Any tips? I'm new to Drupal and don't want to mess up my installation.