Custom paragraph styling

I’m sure this is easy to do, but I’m not having any luck.

My site has a section with interviews. I would like to make a custom CSS class for the questions so that I can just put that class in the Advanced CSS and not have to apply local formatting every time — and also so it’s easier to change this look later if the client wants.

I’ve applied the class “question” in the advanced area of the block. I’m using paid GeneratePress child theme, and in the customizer/additional CSS I added

.question p {
font-style: italic;
color: #3a606e;

Cleared caches. No joy. What am I doing wrong?

Here’s the page: Cole Bradley – Godmother of Canadian Country Music The paragraph I formatted is the one directly under the video.

Support gave me the answer: it needs to be p.question, not .question p.

Works great now!

1 Like