XStore Electron01 – How to make Secondary Menu open on Shop page as well as Home

This topic has 4 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Rose Tyler

  • Avatar: themadguru
    Robert
    Participant
    December 12, 2018 at 01:06

    Hi

    I want the secondary Menu to open by default on both the Home Page and the Shop page and not other pages. When I go to these settings:-

    XStore Options > Menu > Menu Options.

    I can see I can turn the Secondary Menu on, with Visibility = opened. below is an option “For home page only”, but no options to turn on for the most important page, the ‘Shop’ page. How do I do this, please?

    Regards

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 12, 2018 at 09:26

    Hello,

    Please try to add this code in custom css area:

    .et-secondary-visibility-opened.et-secondary-on-home.post-type-archive-product .secondary-menu-wrapper .menu {
        display: block;
        z-index: 1001;
        animation-name: fadeIn;
        animation-duration: 0.2s;
    }

    Regards

    Avatar: themadguru
    Robert
    Participant
    December 15, 2018 at 18:47

    Hello Rose

    Thank you. It works on the Shop page, but I just realised that when I click on a product category, it doesn’t show up there. I want the menu to be visible on all shop categories too, please?

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 17, 2018 at 09:58

    Hello,

    Please change the previous code to:

    .et-secondary-visibility-opened.et-secondary-on-home.archive.woocommerce-page  .secondary-menu-wrapper .menu {
        display: block;
        z-index: 1001;
        animation-name: fadeIn;
        animation-duration: 0.2s;
    }

    Regards

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

The issue related to '‘XStore Electron01 – How to make Secondary Menu open on Shop page as well as Home’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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