Categorie sidbar - by kyllaz - on WordPress WooCommerce support

8 replies2 participantsUpdated by Rose Tyler

  • Avatar: kyllaz
    kyllaz
    Participant

    Hi there =)
    I have Woocommerce categories widget in a sidebar. On each page with the sidebar, the first category automatically toggles as OPEN. What code can be implemented to ensure all categories remain closed until clicked on to toggle open?

    Best regards

    8 Answers

    Avatar: kyllaz
    kyllaz
    Participant

    Also how can i disable the sidebar on tablet resolution? The theme only allow disabel on mobile.

    Many thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please read this topic https://www.8theme.com/topic/category-menu-keep-2nd-level-open/

    You can disable sidebar on mobile in Theme Options and then add this code:

    .hidden-xs {
        display: none!important;
    }

    in Theme Options > Styling > Custom css > Custom CSS for mobile landscape and for tablet.

    Regards

    Avatar: kyllaz
    kyllaz
    Participant

    Hi again =)
    Any feedback on this please? I really need to sort this out.
    best regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Please provide us with FTP credentials.

    Regards

    Avatar: kyllaz
    kyllaz
    Participant

    Hi again. Here goes my ftp. Please if you change any code tell me so i can change back again when i update.
    Look forward for your reply.
    Best regards

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Done. Please check.
    You need to save etheme.js file and upload it after theme update.

    Regards

    Avatar: kyllaz
    kyllaz
    Participant

    Thank you Rose.
    won´t that broken any future theme updates? If i have the lines changed probably it would be easier.

    best regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    You are right. Please see screenshot http://prntscr.com/fb5qdu

    Regards

You must be logged in to reply to this topic.Log in/Sign up