• Does anyone know how to move the admin panel sidebar from the left side to the right side.

    The reason I want to do it is because I have too much stuff in my admin panel so I often have to scroll up or down before clicking on something. So I want the sidebar to be next to the scroll bar to minimize my time and my carpel tunnel pain.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • This isn’t fool proof. It won’t work on the responsive version of the backend, but in your theme’s function.php add:

    //move sidebar
    add_action('admin_head','move_admin_sidebar');
    	function move_admin_sidebar() {
    		?>
    		<style>
    		html body #adminmenuback { display: none; float: right !important; }
    		html body #adminmenuwrap { float: right !important; right: 0; }
    		#wpcontent { margin: 0 180px 0 15px; }
    		</style>
    		<?
    	}

    Thread Starter mirgcire

    (@mirgcire)

    @davidsword: Nice! It works well. Many Thanks!

    There are two issues:
    1) I had to change “<?” to “<?php” to make it work.
    2) The sub-menu hover popups are gone.

    I guess the sub-menu popups have fixed relative location. Do you have any idea how to make them pop on left instead of the right?

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Move admin panel sidebar to the right hand side’ is closed to new replies.