Okay
  Public Ticket #3195687
Menu - expand sub level
Closed

Comments

  •  2
    dwaisman started the conversation

    Hello,

    I'm trying to have the sub-level of the menu automatically open / expanded as soon as the page loads (I'm using a vertical menu)

    Is there a solution through CSS that I can implement to do this ?

    Thank you

  •  2,958
    Andrew replied

    Hello again,

    Thank you for reaching out to us.

    Unfortunately, this is currently not available at the moment. I'd recommend you reach out to a developer to troubleshoot and customize this request for you.

    Kind regards,

  •  2
    dwaisman replied

    Hi Andrew,

    thank you for your message.

    Is it possible for you to guide me where can I make the changes on the code? 

    Is it a CSS style that needs to be adjusted ? perhaps a Javascript script that I can change?

    Best

  •  1,877
    Judith replied

    Hi There,

    Please send in your website URL so that we can possible CSS.

    Thanks.

  •  2
    dwaisman replied

    Good morning, Judith,

    thank you for your message. My website is diego.waisman.info

    I noticed that the Projects menu adds a new class called submenu-open once it's expanded. There's also a style added to the submenu. I attempted to add this to the Salient global CSS definitions without success.

    I really appreciate your help.

    Best

  •  1,877
    Judith replied

    Hi There,

    Please try this css:

    .sf-menu>li>ul {
        display: table;
    }

    Thanks.

  •  2
    dwaisman replied

    Thank you, Judith,

    That did it.

    I appreciate your help.

    Best