Side header show the current page

1 reply · opened Jan 30, 2017

CcatalafuenteJan 30, 2017

Dear Canvas support team:

Hello! , I have a question about the side menus
Is there any way for the side header to show on the current page the menu and keep it open?

For example if I click on featured > widgets > links we need to keep all the menu on sight.
thank you

SSemicolon WebSTAFFFeb 1, 2017

Hello,

Unfortunately, this is not available out of the Box! But this is definitely possible! Please add the following CSS Code:

.current-parent {
	display: block !important;
	opacity: 1 !important;
	height: auto !important;
}

and then add the following JS Code at the bottom of the Page after the js/functions.js JS File Linking:


	jQuery('#primary-menu').find('.current').parents('ul').addClass('current-parent');

Now you can simply add the .current Class to the Sub Menu Item you want to display as active. This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard