• I am changing the code on theme argent. the sidebar is located at the bottom of the page. I want the sidebar to show up on the right side of the page. In my sidebar.php file, the code is :

    <?php
    /**
    * The sidebar containing the main widget area.
    *
    * @package Argent
    */

    if ( ! is_active_sidebar( ‘sidebar-1’ ) && ! is_active_sidebar( ‘sidebar-2’ ) && ! is_active_sidebar( ‘sidebar-3’ ) ) {
    return;
    }
    ?>

    <div id=”secondary” class=”footer-widget-area” role=”complementary”>
    <div class=”widget-wrapper”>
    <?php if ( is_active_sidebar( ‘sidebar-1’ ) ) : ?>
    <div id=”widget-area-1″ class=”widget-area”>
    <?php dynamic_sidebar( ‘sidebar-1’ ); ?>
    </div><!– #widget-area-1 –>
    <?php endif; ?>

    <?php if ( is_active_sidebar( ‘sidebar-2’ ) ) : ?>
    <div id=”widget-area-2″ class=”widget-area”>
    <?php dynamic_sidebar( ‘sidebar-2’ ); ?>
    </div><!– #widget-area-2 –>
    <?php endif; ?>

    <?php if ( is_active_sidebar( ‘sidebar-3’ ) ) : ?>
    <div id=”widget-area-3″ class=”widget-area”>
    <?php dynamic_sidebar( ‘sidebar-3’ ); ?>
    </div><!– #widget-area-3 –>
    <?php endif; ?>
    </div><!– .widget-wrapper –>
    </div><!– #secondary –>

    Is this even the right file to modify to move the location of the sidebar? please help me move the sidebar.
    Here is a photo of the website: https://tinypic.com/r/1zbdph5/8

    you can see the widget sidebar at the bottom how do i get that sidebar to the right where the big white place is?

  • The topic ‘Help With sidebar’ is closed to new replies.