Support » Theme: Sydney » Creating A New Template: Sidebar Right

  • Resolved Ciscor213


    Hey guys, was wondering if you could help out with a little issue I am having. Not a major one but a design one. I would like to move the sidebar from the left side of the page to the right side. Conventional code writing would be to create a new template via the page.php file and title it “Template Name: Right Sidebar.” I have done it that way but the sidebar is still on the left. I have tried other php pages but no luck. Any thoughts?

    Thank you in advance. Appreciate the help big time

Viewing 1 replies (of 1 total)
  • goodmuyis


    Can you try to move the get_sidebar(); above the <div id="primary" class="content-area col-md-9">

    <?php get_sidebar(); ?>
    <div id="primary" class="content-area col-md-9">
    	<main id="main" class="post-wrap" role="main">
    		<?php while ( have_posts() ) : the_post(); ?>
    			<?php get_template_part( 'content', 'page' ); ?>
    				// If comments are open or we have at least one comment, load up the comment template
    				if ( comments_open() || get_comments_number() ) :
    		<?php endwhile; // end of the loop. ?>
    	</main><!-- #main -->
    </div><!-- #primary -->
Viewing 1 replies (of 1 total)
  • The topic ‘Creating A New Template: Sidebar Right’ is closed to new replies.