Skip to main content

Forums

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #237360
    chimsetapdi
    Participant

    This is the jsfiddle https://jsfiddle.net/sieunhangao/pwwdxrbd/1/
    I have the ul/li list in WordPress. Would you please help me make the sub-menus that can be toggled and keep state when reload page or click to link?

    #237383
    Ricky55
    Participant

    not totally sure what you mean. Isn’t this just achieved with CSS? WordPress gives you certain classes that you can use to style accordingly.

    You can set parameters in your wp nav menu function to control class names and behavior etc.

    https://developer.wordpress.org/reference/functions/wp_nav_menu/

    Sorry if I’ve misunderstood your question.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.