Okay
  Public Ticket #2911121
Remove sidebar from the attribute archive
Closed

Comments

  •  8
    Simone started the conversation

    Is it possible to remove the sidebar from the archive pages of this site that deals with handcrafted and precious jewels?

    https://www.ametisgioielli.com/pietra/acquamarina/


    Thanks a lot anda have a nice day

  •  2,960
    Andrew replied

    Hello Simone,

    Use the following CSS>

    .term-acquamarina.woocommerce.archive #sidebar.span_3 {
        display: none;
    }
    .term-acquamarina.woocommerce.archive .post-area.col.span_9 {
        width: 100%;
    }
    

    Regards,

  •  8
    Simone replied

    Thanks a lot for the answer. It works

    Isn't there a possibility to get rid of the woocommerce attributes sidebar for the whole archive (attributes only)?

    Doing away css means filling in identical lines of code for each attribute taxonomy. Correct?

  •  2,960
    Andrew replied

    Hello Simone,

    Thanks for writing back.

    Just for confirmation, do you need to remove the WooCommerce sidebar from all the archive pages? Including the shop page?

    Awaiting your reply.

    Regards,

  •  8
    Simone replied

    Hello Andrew 

    Only from archive pages but related to attributes (Attributes archive)


    Thanks a lot and have a nice day

  •  8,841
    Tahir replied

    Hey Again,

    I am afraid there is no such code snippet available to implement this logic to not show the Sidebar on select pages.

    Thanks


    ThemeNectar Support Team 

  •  8
    Simone replied

    Ok thanks a lot for your reply!

    Have a nice day!