Title: Font Thickness
Last modified: June 12, 2020

---

# Font Thickness

 *  [Achraf](https://wordpress.org/support/users/azednet/)
 * (@azednet)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/font-thickness/)
 * Hello,
 * I need to use 3 different thickness of a font in H2. How please?
    -  This topic was modified 6 years, 1 month ago by [Yui](https://wordpress.org/support/users/fierevere/).
    -  This topic was modified 6 years, 1 month ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/font-thickness/#post-12971475)
 * Is this for a single H2? Or all of them?
    For single, put `<span class="thick1"
   >` around the words, using different class names for each thickness. Then go 
   define the classes in Customizer > Additional CSS or your child theme, to something
   like
 *     ```
        .thick1 {font-weight: 200;}
        .thick2 {font-weight: 400;}
        .thick3 {font-weight: 700;}
       ```
   
 * This will usually only render well if the font that you are using has different
   weights, so you might need to load them in your theme or a plugin.
 * To affect all H2 elements, you would need to add the classes with a script.

Viewing 1 replies (of 1 total)

The topic ‘Font Thickness’ is closed to new replies.

## Tags

 * [font](https://wordpress.org/support/topic-tag/font/)
 * [thickness](https://wordpress.org/support/topic-tag/thickness/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/font-thickness/#post-12971475)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
