WordPress.org

Support

Support » Themes and Templates » [Resolved] Move post sidebar to the left

[Resolved] Move post sidebar to the left

  • Hi everyone,

    I started using quark yesterday, and all my pages have a left sidebar, but I would also like to use a left sidebar for posts and on the main index page.

    I have looked through the CSS file but I’m struggling to find a way to do this.

    Any help would be much appreciated, thanks!

    Rich

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anthony Hortin

    @ahortin

    Within index.php and single.php you’ll see a line that says

    <?php get_sidebar(); ?>

    Move this line (above) so it’s just above the following line…

    <div class="col grid_8_of_12">

    in other words, the two lines together should look like…

    <?php get_sidebar(); ?>
    <div class="col grid_8_of_12">

    If you wish to have a left sidebar on normal Pages, then you can either do the same change to page.php or simply select the “Left Sidebar Page Template” when editing the page.

    If you’re creating a child theme from Quark, simply make a duplicate of the above mentioned files from the Quark theme folder and add them to your own child theme folder, and then make the changes.

    Thanks for the above.

    Was able to get it working as a#per your instructions.

    I decided I wanted some additional control over index/archive pages so I decided to use a plugin which allows me to pull in posts (by category, tag if I want to be specific) into a page so I can add fixed text/images for each archive page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Move post sidebar to the left’ is closed to new replies.