Incorrect Heading Order
-
Hello,
I added a text block in Classic Widgets to the footer of my site. The title of that text block is “Contact”. By default, my theme sets that title size to H5. That generates an Incorrect Heading Order error:Affected code: <h5 class=”qodef-widget-title”>CONTACT</h5>
The theme developer offered this alteration to change the H5 to another heading, or in this case, a simple <p>:
jQuery(document).ready(function() {
jQuery(‘#qodef-page-footer .widget h5.qodef-widget-title’).each(function() {
jQuery(this).replaceWith(‘<p>’+jQuery(this).html()+'</p>’);
});
});The change is seen when I inspect the element in the browser. However, the plugin still reads it as an H5 and does not recognize the alteration. I’ve updated the pages and posts which the error occurs many times. Any ideas?
- The topic ‘Incorrect Heading Order’ is closed to new replies.