Archived topic
Footer widget heading h2
7 replies · Started by Bin on January 18, 2018
Hi, Tom. My footer widget heading is h2. How can I change it to h3 or h4? Thanks, Bin
Hi there,
The widget titles are h2 elements for accessibility reasons.
However, you can change them with these two fields:
https://docs.generatepress.com/article/generate_start_widget_title/
https://docs.generatepress.com/article/generate_end_widget_title/
And an example here: https://generatepress.com/forums/topic/changing-sidebar-h-tags/#post-143222
OK, Tom. If you say it is for accessibility reasons I better leave it as it is! Thanks, Bin
No problem! :)
you can be more specific with the solution I can not change the titles of lso widgets to h5
you can add the full code to add to functions.php??
I already solve it thanks
Glad you've figured out :)