WordPress.org

Ready to get started?Download WordPress

Forums

simpleX
Outline is incorrect (1 post)

  1. Kosashi
    Member
    Posted 1 year ago #

    The document outline gets messed up if posts contain headers - they mix with the h2 elements used for post headings.

    This can be easily fixed by replacing each div.entry-content with, for example, section.entry-content. Unlike the div, section introduces a new section in the outline, which is usually what's desired with posts.

    See: http://coding.smashingmagazine.com/2011/08/16/html5-and-the-document-outlining-algorithm/

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.