thewirelessguy / cornerstone

Cornerstone is a WordPress starter theme based on the Zurb Foundation Responsive Framework. Cornerstone aims to provide a lightweight starter theme that is responsive and SEO friendly that web designers can build great looking websites on.
GNU General Public License v2.0
154 stars 40 forks source link

Orbit validation error #7

Closed DesignMitZweiS closed 11 years ago

DesignMitZweiS commented 11 years ago

The orbit function in foundation.php produces invalid markup.

This is hat http://validator.w3.org/ spit out:

Element div not allowed as child of element ul in this context.

I have fixed it on my side by changing line 179 and 184 from

to
  • echo '<li class="content">'
    
        the_title();
        the_content();
    
    echo '</li>';
  • alana-mullen commented 11 years ago

    Thanks for spotting that. Fixed and added a few other minor changes.