Archived topic
style is not changing in titles after changing the h tags
6 replies · Started by Patricia on September 11, 2018
hello,
I changed the tag in the sidebar items from h2 to h4 using a child theme, but the css is still giving those the looks set for the h2. (see for example the widget in header with the social media icons)
Same happened with the comments title, i changed it from h2 to h3 and is still showing the looks of the h2.
could you assist me with that?
thanks
P
I just saw the "h2" tag hasn't changed to "h4" even when I changed the tag in the sidebar.php:
<aside id="archives" class="widget">
<h4 class="widget-title"><?php esc_html_e( 'Archives', 'generatepress' ); ?></h4>
-
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</aside>
And i don't know where can I change the "h2" from the header widget....
Thanks a lot
Hi there,
This should help: https://generatepress.com/forums/topic/h2-title-in-footer-header-top-bar-and-footer-widgets/#post-561167
However, those elements use <h2> for accessibility reasons.
Let me know if this helps or not :)
hi tom,
I replied my concerns in that thread, will need somemore help with that :P
Also, how about the comments? I don't know why are they looking like h2 when i changed them into h3 (I looked at the code of the page to confirm and they are). I don't know what should I do with that.
thanks.
Can you check the Custom CSS that was added for the Heading underline, it looks as though the same CSS Styles are being applied to the H2 and the H3. Can't see specifically as Autoptimize combines all the styles together.
my bad, I thought the h3 style was the h2 style.
thanks for all the support, I hope I can finish the template migration in the next days :)
Not a problem. Glad to be of help.