Schlagwort: primary

  • The CSS Code has changed with Version 1, so try this new code.

    The new version of the K2 WordPress Theme supports a three column layout (you can change it in the K2 Options). I prefer both sidebars on one side (like the 3 column K2 Theme) but K2 only supports sidebar-content sidebar.

    Original Version:

    New Version:

    To change this default order to content-sidbar-sidebar, you can download my small custom theme hack.

    hack.css

    put this file into the „styles“ folder and activate it through the K2-Options panel

    Or you can change it by hand:

    open styles.css and search

    .sidebar-dual #primary {
    	margin-left: 170px;
    	padding: 10px;
    	}
    Code-Sprache: CSS (css)

    and replace it with

    .sidebar-dual #primary {
    	padding: 10px;
    	}
    Code-Sprache: CSS (css)

    and search

    #sidebar-alt {
    	float: left;
    	width: 150px;
    	padding: 10px;
    	left: -740px;
    	margin-left: -170px;
    	}
    Code-Sprache: CSS (css)

    and replace it with

    #sidebar-alt {
    	float: left;
    	width: 150px;
    	padding: 10px;
    	}
    Code-Sprache: CSS (css)

    That’s All Folks…

    6 Kommentare zu Change sidebar order in the new three column K2