Title: jquery toggle submenu
Last modified: February 10, 2021

---

# jquery toggle submenu

 *  Resolved [jan rodenburg](https://wordpress.org/support/users/jan-r-larka/)
 * (@jan-r-larka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/jquery-toggle-submenu/)
 * I have a Horizontal Menu on Desktop. The submenu is also horizontal.
    Now i want
   the submenu to be visible when a menu-item from this submenu is current-page.
 * How can i do this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjquery-toggle-submenu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [jan rodenburg](https://wordpress.org/support/users/jan-r-larka/)
 * (@jan-r-larka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/jquery-toggle-submenu/#post-14032901)
 * no need for jquery.
    you can just do it in css:
 * li.current_page_parent ul.sub-menu {
    opacity: 1; transform: translateY( 0 );
   right: -2rem; }

Viewing 1 replies (of 1 total)

The topic ‘jquery toggle submenu’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/chaplin/2.6.8/screenshot.png)
 * Chaplin
 * [Support Threads](https://wordpress.org/support/theme/chaplin/)
 * [Active Topics](https://wordpress.org/support/theme/chaplin/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/chaplin/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/chaplin/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [toggle](https://wordpress.org/support/topic-tag/toggle/)

 * 1 reply
 * 1 participant
 * Last reply from: [jan rodenburg](https://wordpress.org/support/users/jan-r-larka/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/jquery-toggle-submenu/#post-14032901)
 * Status: resolved