{"id":2251363,"date":"2011-08-19T07:54:07","date_gmt":"2011-08-19T07:54:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/sub-items-take-on-parent-items-style\/"},"modified":"2016-08-20T02:02:32","modified_gmt":"2016-08-20T02:02:32","slug":"sub-items-take-on-parent-items-style","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/sub-items-take-on-parent-items-style\/","title":{"rendered":"sub items take on parent item&#039;s style"},"content":{"rendered":"<p>I have assigned a bold style to the current page on the menu. When a parent menu item is selected, all the sub items also appear with the same style bold style. I only want the sub menu items to appear bold when they are the current page.<\/p>\n<p>http:\/\/mabubaby.com\/wp<\/p>\n<p>#sidebar_left ul li a {text-size: 14px; padding-left: 0px; color: #666; text-decoration: none;}<br \/>\n#sidebar_left ul li a:hover {color: #000;}<br \/>\n#sidebar_left ul li a:active {color: #00aeb9;}<br \/>\n#sidebar_left ul li.current_page_item a, #sidebar_left ul li.current_page_ancestor a {color: #1DA4EF; font-weight: 700;}<br \/>\n#sidebar_left ul ul li a {padding-left: 6px; color: #666; font-weight: 200;}<br \/>\n#sidebar_left ul ul ul li a {padding-left: 11px; color: #666; font-weight: 200;}<br \/>\n#sidebar ul li.current_page_item ul li.page_item a, #sidebar_left ul li.current_page_ancestor ul li.page_item a, #sidebar_left ul ul li.current_page_item a<br \/>\n{color: #1DA4EF; font-weight: 200;}<br \/>\n#sidebar_left ul ul li a:hover<br \/>\n{color: #000; font-weight: 200;}<br \/>\n#sidebar_left ul ul li.current_page_item a, #sidebar_left ul ul li a:hover<br \/>\n{ background: #f0f0f1 url(images\/subnav.gif) -24px 4px no-repeat;}<br \/>\n#sidebar_left ul ul li.current_page_item ul li.current_page_item a, #sidebar_left ul li.current_page_ancestor ul li.current_page_ancestor ul li.current_page_item a<br \/>\n{ color: #00aeb9; background: #f0f0f1 url(images\/subnav.gif) -8px 4px no-repeat;}<br \/>\n#sidebar_left ul ul li.current_page_item a, #sidebar_left ul li.current_page_ancestor ul li.current_page_item a{color: #00aeb9;}<br \/>\n#sidebar_left ul li.current_page_item ul li a:hover {color: #000;}<\/p>\n<p>body#news #sidebar_left ul li a#diaccommunity, body#community #sidebar_left ul li a#diaccommunity,<br \/>\nbody#home #sidebar_left ul li a#home {color: #FF6633; font-weight: 700;}<\/p>\n<p>#sidebar_left ul ul li.current_page_item ul li a, #sidebar_left ul li.current_page_ancestor ul li.current_page_item ul li a<br \/>\n{ color: #666; background-image: none;}<br \/>\n#sidebar_left ul ul li.current_page_item li.current_page_item a:hover,<br \/>\n#sidebar_left ul li.current_page_ancestor ul li.current_page_item ul li a:hover<br \/>\n{ color: #000; background: #f0f0f1 url(images\/subnav.gif) -8px 4px no-repeat;}<\/p>\n","protected":false},"template":"","class_list":["post-2251363","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2251363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2251363\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2251363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}