ccswbs / hjckrrh

GNU General Public License v2.0
6 stars 5 forks source link

Ensure Bootstrap .h1, .h2, .h3, .h4, .h5, .h6 classes are not overridden when added to <p> element #919

Open mmafe opened 5 years ago

mmafe commented 5 years ago

See Bootstrap Typography headings

Ensure Bootstrap .h1, .h2, .h3, .h4, .h5, .h6 classes are not overridden by stylesheet, particularly when applied to a <p> element in the .main-container.

For example,

Does not work: <p class="h2"><a href="#">Heading 2</a></p> Works: <p><a href="#" class="h2">Heading 2 linked</a></p>