Site logo

Archived topic

Figure caption formatting

1 reply · Started by Erik-Jan on March 9, 2021

Viewing posts 1–2 of 2

Hi, I noticed that figure captions (the figcaption tag) do no get formatted properly. A figure caption can be added below a table, for example. I fixed this manually with the following CSS snippet, but I think this should be part of the Generatepress basic style sheet instead.

My fix:


figcaption {
 font-size: 12px;
  color: #9f9f9f;
  text-align: center;
}

Example page where you can see my fix live (small grey text below the tables): example formatted figcaption

Hi Erik,

Thanks for the mention. I'll mark it as an item for some internal discussion.

Thanks!

This archived topic is closed to new replies.