milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
916 stars 196 forks source link

adding zurb classes tabs & vertical to sidebar ul #122

Closed nousename closed 11 years ago

nousename commented 11 years ago

There might be an easy way to do this, but i cannot find it. I have in my sidebar the widget pages, i can "hack" how this looks, but ideally i would be happy just to have the standard zurb stuff - http://foundation.zurb.com/docs/navigation.php#

So how can i add for example the classes "tabs vertical hide-on-phones" to my sidenav ul

All i want is to add basic foundation classes to sidebar-section -> ul Is there anyway of doing this, or do i have to completly duplicate the css, and reapply it ?

milohuang commented 11 years ago

I don't have a way to change the class apply to individual widget. If you want to change all the widgets class, you can do it in functions.php.

nousename commented 11 years ago

if you give me a clue how to, i'll give it a go Obviously i have to somehow overwrite my Widget_Pages -> Widgit - where the ul is I'm just not sure how to. Somehow need to replace class WP_Widget_Pages -> function widget