CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
Wordpress How To include JQuery dropdown menu
dstx
Permalink to comment
#
June 2009
I have a dropdown menu working fine on my site:
http://lifegivingspring.info
but cannot get same menu to work in Wordpress theme I'm building following CSStricks personal theme tutorial:
http://lifegivingspring.info/wordpress
I've linked js in head, but when I add child categories, I just get 1 big list with no hover function.
How can I get js to activate hover function in WP so only parent categories in list show in navbar, and child pages on hover?
dstx
Permalink to comment
#
June 2009
Seem to have gotten around issue by using script-free CSS dropdown menu based on this prototype:
http://www.grc.com/menu2/invitro.htm
but have ended up with space between ul li items in main navbar:
http://lifegivingspring.info/wordpress/
I've checked all margin and padding CSS to no avail.
Any idea how to get rid of unwanted space?
apostrophe
Permalink to comment
#
June 2009
Remove this line from your css:
list-style: square inside;
Add a Comment
http://lifegivingspring.info
but cannot get same menu to work in Wordpress theme I'm building following CSStricks personal theme tutorial:
http://lifegivingspring.info/wordpress
I've linked js in head, but when I add child categories, I just get 1 big list with no hover function.
How can I get js to activate hover function in WP so only parent categories in list show in navbar, and child pages on hover?
http://www.grc.com/menu2/invitro.htm
but have ended up with space between ul li items in main navbar:
http://lifegivingspring.info/wordpress/
I've checked all margin and padding CSS to no avail.
Any idea how to get rid of unwanted space?