• Resolved Denis ?oljom

    (@dingo_d)


    By default, when I installed woocommerce and went to my shop page, my sidebar was stretched across the container div. I’ve found out how to wrap products in functions.php in container divs, but don’t know how to target my sidebar speciffically.

    I’d like to have something like this

    <div class="container">
        <div class="products">/*products go here*/
        </div>
        <div class="sidebar">/*sidebar goes here*/
        </div>
    </div>

    I don’t want to copy files and customize them, I’d like to do minimal editing to the woocommerce, that’s why I’m doing everything in functions.php.

    What is the hook that controls the sidebar?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to wrap sidebar in a separate div from shop items?’ is closed to new replies.