Site logo

Archived topic

weight of links fonts

1 reply · Started by Petar on April 12, 2022

Viewing posts 1–2 of 2

Hi, I was using next code to make links "stronger" than the resto of the text

.single-post .inside-article .entry-content a {
font-weight: bold;
}

But,it is too much so I was wondering is it possible to make it less bold but still stronger compared to the rest of the text?

thanks

Hi Petar,

This would depend on how many variants are included in the font you’re using.

For instance, if you use Dynamic Typography in Appearance > Customize > Typography to add a font, you may see and choose the variants as such: https://share.getcloudapp.com/z8uLl74L

Now you may set the Target Element to Custom - .single-post .inside-article .entry-content a and select a font-weight variant available in the Typography Manager as such: https://share.getcloudapp.com/eDu5nvwK

You may also do it via code, but to reiterate, this would depend on the font you're using, and the variants it has enqueued in your site, or locally, if the site viewer has it installed in his or her device.

Hope this clarifies. :)

This archived topic is closed to new replies.