WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] Move post sidebar to the left (3 posts)

  1. R_Hemingway
    Member
    Posted 8 months ago #

    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

  2. ahortin
    Member
    Theme Author

    Posted 8 months ago #

    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.

  3. R_Hemingway
    Member
    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.