Accordion Navigation Menu always start opened

This topic has 9 replies, 4 voices, and was last updated 8 years, 11 months ago ago by Stan Russell

  • Avatar: Giuseppe
    Giuseppe
    Participant
    December 27, 2015 at 21:52

    Hi,
    in home shop page the navigation menu start open, i need that start closed..
    In theme configuration menu i’ve set ‘Enable Navigation Accordion’ -> ON

    thank you for supprt

    8 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    December 28, 2015 at 09:56

    Hello,

    Please show a screenshot what you want to achieve and provide us with wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: Giuseppe
    Giuseppe
    Participant
    December 28, 2015 at 10:54

    In shop page the menu is always open
    open menu

    I want this
    closed menu

    For now i’m on testing website.. I can not give you the credentials admin..

    Avatar: Giuseppe
    Giuseppe
    Participant
    December 28, 2015 at 10:58

    I would also like to change the size of text in categories menu..

    Avatar: Eva
    Eva Kemp
    Support staff
    December 28, 2015 at 10:59

    Hello,

    You can close the first category by editing wp-content/themes/royal/js/etheme.js file. Find and comment out line 1808
    $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();

    Regards,
    Eva Kemp.

    Avatar: Giuseppe
    Giuseppe
    Participant
    December 28, 2015 at 22:25

    Don’t work Eva, it’s always open… I think that something is missing in javascript for this…

    I need that starts closed and when a category is selected only the subcategories of the selected category are visible..

    Something like this:
    http://www.jqueryrain.com/?YVcb0jHD

    Also I would to change the size of text in categories menu…

    Thank you in advance..

    Avatar: Giuseppe
    Giuseppe
    Participant
    December 28, 2015 at 22:58

    Work… it’s a cache problem of WP Super Cache.. now it’s ok.
    Thank you so much..

    Now I want to reduce the text dimension in categories menu

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 29, 2015 at 08:53

    Hello,

    Please add this code in Theme Options > Custom CSS > Custom CSS for desktop:

    .widget_product_categories ul li a {
        font-size: 10px !important;
    }

    Write the value you need.

    Best regards,
    Jack Richardson.

    Avatar: stan
    Stan Russell
    Participant
    December 29, 2015 at 08:55

    Hello,

    please add following css code to your custom.css file:

    .sidebar-widget .product-categories {
    font-size:10px
    }
    .sidebar-widget .product-categories a{
    font-size:10px
    }

    Regards,
    Stan Russell.

  • 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.