Site logo

Archived topic

How To Customize Heading(H2) Like Hubspot

3 replies · Started by printertip on November 23, 2022

Viewing posts 1–4 of 4

I want to make my headings look like this.
https://ibb.co/bFDv03D
Can you suggest me the CSS?

Hi there,

you can try this CSS:


.entry-content h2 {
    padding: 15px;
    border: 1px solid currentcolor;
    border-radius: 4px;
}

Do you want an icon before them too ? If so, you would need to upload an image to your media library of the exact size you want it displayed eg. 40px x 40px.

Thanks David. It worked perfectly!

Glad to hear that!

This archived topic is closed to new replies.