Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #654260

    Hi

    I would like to set remove the sidebar from the WooCommerce product category (See Link)

    1. Is this possible using the Advanced Editor?
    2. If not where is the template page? I will add it to my child theme.

    Kind Regards,
    Adrian Smith

    #655211

    Anybody There ?

    #655948

    Hi,

    Thank you for using Enfold.

    Please add this in the functions.php file:

    add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2);
    function avia_change_post_layout($layout, $post_id) {
        if(is_archive() && is_post_type_archive('product'))
        {
            $layout['current'] = $layout["fullsize"];
            $layout['current']['main'] = "fullsize";
        }
        return $layout;
    }

    Best regards,
    Ismael

    #656434

    Hi Ismael

    I pasted it into my child theme and nothing happens.

    Regards,

    #656858

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.