Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rd4k1

    (@rd4k1)

    oh, i’m sorry i completely forgot to post back here. Yes i tested online it does show. But i ended up buying sociallocker as i needed the ajax content hiding.

    Thread Starter rd4k1

    (@rd4k1)

    Ah, could be. I’ll report back when I’ve tested online

    Thread Starter rd4k1

    (@rd4k1)

    I got it now. I don’t know why I didnt think of it before, but I got it using the immediate child selector — The greater than symbol (>) for those who find this and may not know.

    So instead of it being:

    #nav_menu li a:hover, #nav_menu li.current_page_item a, #nav_menu li.current_page_parent a{
    	border-right: 10px solid #ffab48;
    }
    
    #nav_menu ul li a:hover:first-letter, #nav_menu li.current_page_item a:first-letter, #nav_menu li.current_page_parent a:first-letter{
    	color: #ffab48;
    }

    It is now:

    #nav_menu li a:hover, #nav_menu li.current_page_item>a, #nav_menu li.current_page_parent>a{
    	border-right: 10px solid #ffab48;
    }
    
    #nav_menu ul li a:hover:first-letter, #nav_menu li.current_page_item>a:first-letter, #nav_menu li.current_page_parent>a:first-letter{
    	color: #ffab48;
    }

    And that highlights the current page or parent page without effecting the submenu items.

    Thread Starter rd4k1

    (@rd4k1)

    no, those are just for hovering. The problem is when the menu item is hightlighted, indicating you’re on that page.

    I can’t show considering this is a localhost but perhaps I can illustrate.

    Listing vertically for simplicity

    On Page1

    >Page1<
    Page2
    Page3
    –Sub1
    –Sub2
    –Sub3
    Page4

    On Page3

    Page1
    Page2
    >Page3<
    –>Sub1<
    –>Sub2<
    –>Sub3<
    Page4

    If Page3 is highlighted to indicate the current page, all the child items in the submenu are highlighted as well (does not happen for hovering, only for classes like ‘current_page_item’ as well as ‘current_page_parent’)

Viewing 4 replies - 1 through 4 (of 4 total)