 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
May 26, 2016 at 9:35 pm #638978Hi support! I activated the sidebar navigation option in Enfold > Sidebar Settings 
 It works well for pages that are on level 2 (just have one ancestor) – see link#1
 But if it has 2 ancestors, the design of the menu is lost as the parent name appears – see link #2Could you please tell me how to make sure that the sidebar navigation always look like the one in link #1? Thanks! A. May 27, 2016 at 2:57 pm #639313Hey antoine251, Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file: .sidebar .widget_nav_menu ul:first-child .current_page_item { padding-right: 52px; padding-left: 0; left: auto; top: 1px; margin-top: -1px; padding-top: 1px; width: 100%; box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2); margin-bottom: 4px; background: #fcfcfc; }Best regards, 
 YigitMay 27, 2016 at 4:31 pm #639370Hi Ygit, 
 Thanks, that helped on the design!
 Now, the last thing I want to achieve is to remove from sidebar nav all the parent items:In other words: 
 Médecine générale << level 1 item (parent) – I want to REMOVE
 Nos médecins << level 2 item – I want to KEEP
 Médecine familiale << level 2 item – I want to KEEP
 Prélèvements sanguins << level 2 item – I want to KEEP
 Soins infirmiers << level 2 item – I want to KEEP
 Soins à domicile << level 2 item – I want to KEEP
 Urgences sur rendez‑vous << level 2 item – I want to KEEP
 Vaccination << level 2 item – I want to KEEP
 Services complémentaires << level 1 item – I want to REMOVEThanks! 
 Best regards,
 AntoineMay 30, 2016 at 4:40 am #640088Hi, Thank you for the info. Please add this in the Quick CSS field: .nested_nav .page_item_has_children > a { display: none !important; }Best regards, 
 IsmaelMay 30, 2016 at 2:44 pm #640410Hi Ismael, 
 That’s exactly what I needed.
 Thanks a lot & have a great day!
 AntoineMay 30, 2016 at 2:49 pm #640417Hey! You are welcome! 
 For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
 And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
 For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers! 
 Yigit
- 
		AuthorPosts
- The topic ‘sidebar menu shows ancestor’ is closed to new replies.
