Hiding Vertical Menu

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/30/2014 3:36:05 PM
Gravatar
Total Posts 40

Hiding Vertical Menu

Is possible hide the vertical menu on a page? Like hide main menu option.

1/30/2014 11:44:56 PM
Gravatar
Total Posts 212
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Hiding Vertical Menu

There are a number of different ways you could do this. Depending on your skin and site setup, you might have a few different options, and without knowing more about the site in question it would be hard to tell you what the best option is.

One way that will almost always work is to use a page body class (you can set it under page settings, the input labeled "Custom Body CSS Class"), and then hide your menu with CSS.

.my-pagebody-class .vertical-menu { display: none; }

Replace "my-pagebody-class" with whatever you put in that input in page settings, and then "vertical-menu" with whatever the CSS class of your menu is.

This may not be ideal though, if the menu is in the left panel of your site it will still cause the left pane to render, which will very likely mean your center content will still be pushed over, which will look odd if you don't have any other content in the left pane on that page. In this case, you can use the same body class to hide the left pane by using the CSS above and replacing the "vertical-menu" bit with the class of your left pane. You might also want to increase the width of your center/right panes.

I may be able to tell you other ways if you tell me more about the site, or give me a link.

Hope this helps,
-Isaac

1/30/2014 11:57:44 PM
Gravatar
Total Posts 212
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Hiding Vertical Menu

Another way that will most likely work is to enable the "Allow Hiding Main Menu on Page?" setting in Site Settings, and then go to the Page Settings on the page you want to hide the menu on and check the "Hide Main Menu?" checkbox.

Note that this won't work if the menu is actually a child page menu, not the primary site menu.

1/31/2014 7:29:11 AM
Gravatar
Total Posts 40

Re: Hiding Vertical Menu

Thank Isaac,

 
The skin is a Artisteer 4 generated. I have horizontal main menu and vertical menu.I do not want to see the left panel on a child page.
 
Regards.
1/31/2014 9:51:26 AM
Gravatar
Total Posts 18439

Re: Hiding Vertical Menu

Hi,

You could simply remove the <portal:PageMenu from the layout.master file to completely remove the vertical menu.

Hope that helps,

Joe

1/31/2014 10:00:50 AM
Gravatar
Total Posts 40

Re: Hiding Vertical Menu

Thank Joe, is Ok for all pages not for only one.

1/31/2014 10:01:45 AM
Gravatar
Total Posts 40

Re: Hiding Vertical Menu

I go to make 2 identical skins but remove  <portal:PageMenu from one.

You must sign in to post in the forums. This thread is closed to new posts.