• Resolved smallwonder442

    (@smallwonder442)


    I’d like to have a left sidebar on the Front Page of my site. The Front Page is also my Woocommerce Shop page (product archive page). I’ve tried modifying the template files and I’ve tried all kinds of plugins for adding a custom sidebar but I have not been successful. Can you help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Please create new file : template-frontpage.php in your Child theme, then copy paste this :
    https://snippi.com/s/tpibegy

    Let me know how it goes.
    Kind regards.

    Thread Starter smallwonder442

    (@smallwonder442)

    Thanks for the help. I created the new template file and added it to my Child Theme but that didn’t work either.

    Thread Starter smallwonder442

    (@smallwonder442)

    I fixed it! When I reviewed the code inside the Woocommerce Template file (woocommerce.php) I noticed this bit of code:
    <div id=”content-inside” class=”container no-sidebar”>

    So in the woocommerce.php file in my Child Theme I changed it to read:
    <div id=”content-inside” class=”container left-sidebar”>
    and added
    <?php get_sidebar(); ?>
    immediately under that.

    Problem solved. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Sidebar to Front Page’ is closed to new replies.