Categorie sidbar - by kyllaz - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler

  • Avatar: kyllaz
    kyllaz
    Participant
    May 18, 2017 at 15:48

    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
    May 18, 2017 at 19:02

    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
    May 19, 2017 at 12:15

    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
    May 19, 2017 at 12:32

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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 19, 2017 at 12:53

    Hello,

    Please provide us with FTP credentials.

    Regards

    Avatar: kyllaz
    kyllaz
    Participant
    May 22, 2017 at 16:30

    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
    May 23, 2017 at 14:39

    Hello,

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

    Regards

    Avatar: kyllaz
    kyllaz
    Participant
    May 23, 2017 at 14:41

    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
    May 23, 2017 at 14:47

    Hello,

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

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.