Custom rendering of normal ** ** bold

Hi,
Is it possible to tell how the content of ** ** should be rendered ? Is there perhaps a css class one can add to ?

No. It’s <strong>.

If you want to format one single occurence of that, then create a shortcode and use a parameter to add a class to your strong-tag.

If you want to change ALL occurences of <strong> then check what class the “container” of your articles has and do something along the lines of .containerclass strong { some formatting }.

Thanks :wink:

You can just target the element directly with your css, there’s no requirement overspecify your selector. To effectively remove that elements default browser styling you can just do:

strong { font-weight: 400; }
1 Like