Try Now
More in this section

Forums / Designing & Styling / Styling Navigation with two widgets on page

Styling Navigation with two widgets on page

2 posts, 0 answered
  1. Steve
    Steve avatar
    6 posts
    18 Nov 2010
    27 Sep 2012
    Link to this post
    I have two navigation widgets on one page.  The Main Nav has just the top level pages.  On all of the interior pages, a Sub Nav is placed vertically down the left side of the page, showing all pages under the selected Main Nav item.  I have rmSelected for the Main Nav styled to have a background color, and that works when I am on the top level page.  As soon as I select one of the pages off the Sub Nav, the background color on the selected Main Nav reverts back to the default.  Is there a way to keep the Main Nav selected item style after selecting a page from the Sub Nav?
  2. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    13 Aug 2007
    07 Oct 2012
    Link to this post
    Hey Steve,

    If you're using the default horizontal navigation option, and set it to 'Top level pages', the .rtSelected will still be applied when navigating child pages.

    If you're using the horizontal navigation with dropdowns option, you'll need to use the rmFocused class for the horizontal menu.


2 posts, 0 answered