Switching Sidebar from Right to Left in Veggie Lite
-
Hi everyone, I am moving from wordpress.com to .org and am struggling with getting the sidebar in Veggie Lite to change from right to left. This is the code that (I think) refers to the layout but I can’t figure out how to do this. Oh and this is already a child theme. Please help!
<div id=”primary” class=”content-area frontpage”>
<main id=”main” class=”site-main” role=”main”>
<div class=”main-content”><?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘template-parts/content’, ‘page’ ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?><?php endwhile; // End of the loop. ?>
</div><!– .main-content –>
<?php if ( is_active_sidebar( ‘sidebar-2’ ) ) : ?>
<div class=”two-third”>
<div class=”widgetized-content”>
<?php get_sidebar( ‘main’ ); ?>
</div><!– .block-four –>
</div>
<div class=”one-third lastcolumn secondblock”>
<?php get_sidebar(); ?>
</div>
<?php endif; ?>
- The topic ‘Switching Sidebar from Right to Left in Veggie Lite’ is closed to new replies.