rd4k1
Forum Replies Created
-
Forum: Plugins
In reply to: [wpLike2Get] Facebook Button Not Appearingoh, 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.
Forum: Plugins
In reply to: [wpLike2Get] Facebook Button Not AppearingAh, could be. I’ll report back when I’ve tested online
Forum: Themes and Templates
In reply to: Nav Menu Current Item (and Parent)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.
Forum: Themes and Templates
In reply to: Nav Menu Current Item (and Parent)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
Page4On Page3
Page1
Page2
>Page3<
–>Sub1<
–>Sub2<
–>Sub3<
Page4If 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’)