WordPress.org

Support

Support » Themes and Templates » The Bootstrap » Widget Title Size Observation

Widget Title Size Observation

  • 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.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Huh, thanks for bringing this up! I’ll look into this.

    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).

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget Title Size Observation’ is closed to new replies.
Skip to toolbar