• Resolved auditt

    (@auditt)


    Hi there,

    is it possible to force WordPress’ Sidebar Menu on all MainWP screens instead of using yours? Is there any function, CSS rules or setting to do so?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bojan Katusic

    (@bojankatusic)

    Hi @auditt

    We don’t have a setting for this out-of-the-box.

    However, the CSS of the MainWP Dashboard can be tweaked to either reveal the WP Admin sidebar to the left of the MainWP Dashboard, or to completely replace the MainWP Dashboard’s sidebar.

    Try this to reveal WP Admin sidebar:

    .mainwp-ui-leftmenu.mainwp-ui-page #adminmenuwrap,
    .mainwp-ui-leftmenu.mainwp-ui-page #adminmenumain {
        display: block !important;
    }
    
    .mainwp-ui-leftmenu .mainwp-content-wrap {
        margin-left: 340px;
    }
    
    .mainwp-nav-wrap {
    	position: fixed;
    	left: 160px;
    }

    And this code to replace the MainWP Dashboard’s sidebar:

    .mainwp-ui-leftmenu.mainwp-ui-page #adminmenuwrap,
    .mainwp-ui-leftmenu.mainwp-ui-page #adminmenumain {
        display: block !important;
    }
    
    .mainwp-ui-leftmenu .mainwp-content-wrap {
        margin-left: 140px;
    }
    
    .mainwp-nav-wrap {
    	display:none;
    }

    You may need to adjust the colors of the WP Admin sidebar for better visibility.

    Thread Starter auditt

    (@auditt)

    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use WordPress Sidebar Menu’ is closed to new replies.