Site logo

Archived topic

Bottom margin in H4 and H5

1 reply · Started by Sanu Kumar on November 9, 2020

Viewing posts 1–2 of 2

How to give a bottom margin in H4 and H5 with CSS because under typography I can't see this option in H4, H5 and H6. This option is available only in H1, H2 and H3.

Hi there,

try this CSS which will allow you change each individually:

h4 {
    margin-bottom: 20px;
}
h5 {
    margin-bottom: 20px;
}
h6 {
    margin-bottom: 20px;
}

If you want them all the same you can use this:

h4, h5, h6 {
    margin-bottom: 20px;
}
This archived topic is closed to new replies.