• Resolved svarogcoop

    (@svarogcoop)


    Hello!
    Could you help me. How can I move widgets before catalogue or products in mobile view. By default in mobile view we have following sequence: first header, then catalogue, then widgets. But I need: first header, then widgets, then catalogue.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Didn’t tested!
    In the “page.php” I think you need to move this line (is on the bottom, 5 row before the last one):

    <?php get_sidebar(); ?>

    and move up right after

    <div id=”primary” class=”content-area”>

    so from:

    </div><!– #content –>
    <?php get_sidebar(); ?>
    </div><!– #primary –>

    to

    <div id=”primary” class=”content-area”>
    <?php get_sidebar(); ?>
    <div id=”content” class=”site-content” role=”main”>

    Can’t test right now so be careful!
    BACKUP BEFORE EDIT

    Thread Starter svarogcoop

    (@svarogcoop)

    Thank you very much, magen1. It works great

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘After header In Mobile view set widget first , then categories or products’ is closed to new replies.