3 thoughts on “Simple Responsive Navigation Using jQuery

  1. not sure if you have a solution for new WordPress developers. There are thousands of responsive nav tutorial for html and vanilla javascript but implementing this in wordpress/php is much more challenging and it’s hard to get the help you need. any support would be helpful. Thanks for this though!


    • In WordPress it is very simple, all you need is to highlight current class using CSS, WordPress automatically add class to a selected link, you can highlight in this way nav ul li.current-menu-item {text-decoration:underline;}
      You can check the automatically added class just by using inspect element or firebug. Hope this help you.

      Note: If you didn’t make changes in WordPress automatic Nav code which add class automatically, if you have placed static links which are not generated by WordPress so this will not work.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s