ThemeShaper Forums » Thematic

[closed]

Menu—current page style

(4 posts)
  • Started 1 year ago by lastraw
  • Latest reply from ScottNix
  • This topic is resolved
  1. I've used this in the past to style the current page in the menu:

    .sf-menu .current_page_item a,
    .sf-menu .current_page_ancestor a,
    .sf-menu .current_page_parent a,
    .sf-menu .current-menu-item page_item
    {
        border-bottom-color:#fff;
    	color: #fea904;
    }

    but for this (beta) site it doesn't seem to be working http://mamoo-kids.dreamhosters.com/beta/about/. I can see it flash on the color specified, but then it goes back to the default. Does typekit effect that I wonder?

    Posted 1 year ago #
  2. Two things.

    .sf-menu .current-menu-item page_item

    This little guy above is incorrect, .current-menu-item and .page_item are both separate classes, so it isn't going to do anything at all.

    .sf-menu .current-menu-item a, .sf-menu .current-menu-item a:visited

    You should however be able to add this to the same CSS and make it work. IE.,

    .sf-menu .current_page_item a,
    .sf-menu .current_page_ancestor a,
    .sf-menu .current_page_parent a,
    .sf-menu .current-menu-item a,
    .sf-menu .current-menu-item a:visited
    {
        border-bottom-color:#fff;
    	color: #fea904;
    }

    At least I think. :x

    Posted 1 year ago #
  3. Perfect! Thanks once again, Mr. Nix!

    Posted 1 year ago #
  4. No problem, that's how I roll.

    Posted 1 year ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.