Paragraph converts into subheadline

Hi

As you can see in this blog post, a paragraph below H2 gets converted into a subheadline automatically (font size 21, while it should be 18). How can I avoid that without manual work? (it’s all over our blog…)

In the theme editor, the subheadline is descriped as the following:

When an H3 is placed directly beneath an H2 OR a paragraph tag is used within a Hero Section module it will become a subheadline.

I tried to adapt the html code of the blog by adding “clear”, but it still doesn’t work.

 .post-body h2 {
 font-size: 46px;
 line-height: 56px;
 color: #373636;
 clear: both;
 }

Thanks for your help.

Hi @MartinaWi

This style is interfering with your p tag. You need to change it or increase the specificity of this selector .post-body h2.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!