• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Change h tag of widget-title

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Change h tag of widget-title

This topic is: not resolved

Tagged: widget-title h tag

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by hackette.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 20, 2016 at 12:50 pm #195120
    hackette
    Participant

    I have a child theme based on education-pro which has to comply with Americans with Disabilities Act guidelines.

    My sidebar widget title is an h4 tag, but the entry-title below it is an h2 tag. The h2 cannot be nested below the h4. I would prefer to keep the entry title as is and only change the widget title.

    Changing the CSS of the widget title will not solve the problem.

    Any help I can get to solve this would be appreciated.

    http://www.webintheworks.com/Jen/about-jen-school/
    October 20, 2016 at 1:11 pm #195121
    carasmo
    Participant

    If you have theme support for headings

    //* Add Accessibility support - @since 1.0.0
    add_theme_support( 'genesis-accessibility', array( 'headings', 'search-form', 'skip-links', 'rems' ) );

    the widget-titles are h3, if you don't have this in your child theme, they are h4 to make them what you use the genesis_register_sidebar_defaults filter.

    See:
    https://sridharkatakam.com/how-to-change-widget-titles-markup-in-genesis/


    Genesis Theme Customization and Help

    October 20, 2016 at 2:26 pm #195126
    hackette
    Participant

    Thanks, the info in the link worked great, but I dont understand what you are saying with everything else.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble