Change font weight for callout titles

I’m trying to change the font weight of a callout title. I can change just about every other attribute, but the font always stays bold.

I’ve been working with this type of snippet:

.callout[data-callout="note-blue"] > .callout-title {
  color: rgb(18, 45, 191);
  font-size: 1.6em;
  font-weight: 100;
}

Any ideas? Thanks :slightly_smiling_face:

Try .callout-title-inner instead. That seems to do it.

.callout[data-callout="note-blue"] .callout-title-inner {
  color: rgb(18, 45, 191);
  font-size: 1.6em;
  font-weight: 100;
}

Screenshot 2023-03-20 084417

2 Likes

That worked perfectly! Thank you!

Hello! This is really cool. Can I ask how this interface, which gives you information regarding the class, the font and the color etc. of a piece of displayed element, is pulled out?

It can get complicated😅, but the basics are easy. Have a look here →

Thank you! This really helps :smiley: and I think I’m starting to get it

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.