-
2Replies
-
Add dropdown classes in WordPress
By Paul Shryock
I am creating a WordPress theme with Foundation, and I'm working on a navigation menu in a topbar. Menu items with child items do not automatically add dropdown classes, and I would like to go ahead and add those. I have read a lot about extending the ... (continued)
Last Reply by Paul Shryock about 4 years ago
You commented on
Andrew Brown's post
about 4 years
Thanks @Jeremy Englert, the function worked very well.
You commented on
Andrew Brown's post
about 4 years
Does anyone know how to create a button link in a WordPress menu which is displaying as a Foundation 5 topbar?
WordPress will allow adding CSS class(es) to the menu item's <li></li>
tag, so I can add .has-form, but I don't know of a way to add a class to the actual <a></a>
element, such as button.
On my site (http://themes.pshry.com/thesecret/) the last menu link is Download, and that's the one I would like to make into a button. Click the download button to view source code on GitHub if needed.
You commented on
Paul Shryock's post
about 4 years
Thanks @Rafi Benkual, I was able to find what I needed from JointsWP and FoundationPress.
-
Enabling Foundation 5 nav with WordPress menus
by Andrew Brown on Wednesday, November 27, 2013 at 9:47 AM EST
-
No Content
-
No Content
Thanks @Jeremy Englert, the function worked very well.