Forum How do I...?

Suppress figure counter ("0-1", "0-2") from being inserted into <figcaption> of HTML "figure" statements

markhicks
I am getting an apparent figure counter in <figcaption>, such as "0-1", "0-2" with HTML figure elements:

<figure style="float:left; margin-right:15px; margin-bottom:10px;">
<img style="width:100px;" alt="Mark Hicks" src="https://s3.amazonaws.com/truthunity/assets/people/hicks-mark/Mark-Hicks-2022-transparent.png">
<figcaption style="font-size: .8em;">Rev. Mark Hicks</figcaption>
</figure>

The caption is "0-1. Rev. Mark Hicks" instead of "Rev. Mark Hicks". How do I suppress the "0-1."?
See the attached.
Thanks!
  1. Screenshot 2025-08-22 at 11.18.08 AM.jpg50.6 kB
mikeday
I think this must be coming from some generated content in your CSS, can you check the style sheets for a rule using a selector like "figcaption::before" or something similar?
markhicks
You're right. I had that code in my CSS and didn't realize it. Thank you so much. As always, you respond right away and are spot on.