WordPress.org

Forums

The Bootstrap
Widget Title Size Observation (4 posts)

  1. jmjf
    Member
    Posted 2 years ago #

    In functions.php, in the_bootstrap_widgets_init(), before_title and after_title are set up for <h2>. In sidebar.php, before_title and after_title are set up for <h3> on the archives and meta widgets.

    The <h2> in functions.php is prevailing, but which should it really be?

    (Just striving for consistency in the base theme. I'm probably going to override it anyway because <h2> is definitely too large and even <h3> is iffy.)

  2. Konstantin Obenland
    Code Wizard
    Theme Author

    Posted 2 years ago #

    Huh, thanks for bringing this up! I'll look into this.

  3. jmjf
    Member
    Posted 2 years ago #

    Having thought about this, my vote is for <h3> based on the idea that <h1> is the site title (most important), <h2> is the post/page title (next most important), and everything else on the page should be subordinate to those (<h3> or smaller).

  4. KOB
    Member
    Posted 2 years ago #

    The documant outline in HTML5 is different, which is why you can start with h1 in every sectioining element actually.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.