Is there a way to remove bold styling from part of a header?
<h1>**This text should be bold**, but this text should not</h1>
Is there a way to accomplish this?
To make it not bold, override the font-weight in css to normal . Show activity on this post. I am using internal CSS for you, directly insert the font style inside your table. Copy and pasta this code into your project, it will do the job.
So, add a class "form-check-label" into your tag, it will be not bold.
The easiest way would be to remove the <strong> tag from your HTML, but if you can't do that for some reason then just add font-weight:normal to that bit of the CSS.
Click Format > Font... Select Not Bold in the Font Style list. Click OK. Click Replace All.
You could wrap the not-bold text into a span and give the span the following properties:
.notbold{ font-weight:normal }
and
<h1>**This text should be bold**, <span class='notbold'>but this text should not</span></h1>
See: http://jsfiddle.net/MRcpa/1/
Use <span>
when you want to change the style of elements without placing them in a new block-level element in the document.
If you don't want a separate CSS file, you can use inline CSS:
<h1>This text should be bold, <span style="font-weight:normal">but this text should not</span></h1>
However, as Madara's comment suggests, you might want to consider putting the unbolded part in a different header, depending on the use case involved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With