Spaces before and after subheadings

Could you help, please?

I want to change the spaces before and after subheadings. By subheadings I mean e.g. MASKS AND STATUES.

Hi There,

Please add this custom CSS under X > Theme Options > CSS:

.x-text p {margin-bottom: 15px;}

Let us know how it goes!

Thanks for getting back to me, Thai. Your suggestion reduces the space after the paragraph, but what i need to do is this:

in the fourth of the five rooms. The museum catalogue claimed that these casts of these distinguished
men had been taken “from the very Impressions of their Faces after Death”. They were “moulded and
coloured to life”. They were also, it should be said, among the less alarming of the exhibits in
Rackstrow’s collection.

MASKS AND STATUES

Not all of Rackstrow’s subjects were dead. In 1757, for example, he displayed the wax impression of the
swollen face of a London tradesman who had had a tumour cut out

Hi there,

All your texts are wrapped within <p></p> and there is no distinction between what’s a sub-heading and standard texts. It’s just a capitalized text.

Please try adding a class to your head line, like this

<p class="sub-headline">MASKS AND STATUES</p>

Then add this CSS too

p.sub-headline {
margin-bottom: 15px;
}

Hope this helps.

This works perfectly. Thanks, Rad.

You’re welcome!
Thanks for letting us know that it has worked for you.

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