• jrcollins

    (@jrcollins)


    My theme (redline) has a 3 sidebar layout (top, left and right). I would like to keep this layout for the home page but for all other pages I only want the right sidebar. I created a full width page template and added “<?php get_sidebar( ‘right’ ) ?>. The problem is the side bar is now at the bottom of the page (“contact us” page at http://www.travelbooksasia.com).
    How do I adjust the page width to allow for the sidebar?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Frumph

    (@frumph)

    .page-template-one_sidebar-php-php .widget {
         width:420px;float: left;
    }

    If that doesn’t work

    #text-5 { width: 420px; float: left; }

    Basically the text-5 is the id for that widget box itself that you have on that page but that’s not specific, the .page-template-one_sidebar-php.php is the code for that page found in the <body classes>

    Thread Starter jrcollins

    (@jrcollins)

    thanks but didn’t work for me. any other ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘page template with custom sidebar layout’ is closed to new replies.