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

Example of an .inline-list using Sections? #170

Open shrwnsan opened 11 years ago

shrwnsan commented 11 years ago

Sorry for the post but I figure I post here as I haven't found any search results that is helpful. I'm wondering if anyone have an example of using Sections and applying it to an .inline-list (e.g. Footer link). Pointers are greatly appreciated, as the following doesn't give me the result:

<div class="section-container auto" data-section>
<?php wp_nav_menu(array(
    'theme_location' => 'utility',
    'container' => false,
    'menu_class' => 'inline-list',
    'before' => '<section class="section"><div class="content">',
    'after' => '</div></section>'
)); ?>
</div>

Or will there be need for a custom walker? Thanks in advance.

PS. Missing the previous way of just adding .mobile to the nav to do this; Pre-Foundation 4.x.

shrwnsan commented 11 years ago

Visual example. This:

Screen Shot 2013-04-11 at 9 33 45 AM

Into this (on smaller res devices):

Screen Shot 2013-04-11 at 9 33 55 AM