Site logo

Archived topic

How to REDUCE the padding in one paragraph block + REDUCE white space

9 replies · Started by Trish on December 19, 2022

Viewing posts 1–10 of 10

1. WP adds padding around text with background color automatically, you can use this CSS to override it, feel free to change the values.

.entry-content p.has-background {
    padding: 1em 2em;
}

2. The margin above the entry content can be adjusted at Customizing > Layout > Container > Content Separator, it's currently set to 2em.

Thank you, Ying, that worked perfectly for 1.) question.

Should I create another ticket to get #2 answered or will someone else be able to help me with this?

I already answered #2 in my last reply, does that not work?

Let me know!

Your script worked perfectly for:

1.) Is there a way to reduce the padding around the text to reduce the overall height of that block only?

But I still need to reduce the white space between the first block of text and the entry title: https://www.awesomescreenshot.com/image/35476533?key=3b360bf0a6a4b6a11332fdfcf56b7428

2.) Is there a way to reduced ONLY the white space between the entry title and that first block of text?

My bad... hang on, I'll be right back!

Found Container Width, Content Layout, and Container Alignment but nothing else under Customize.

My bad…

Found Container Width, Content Layout, and Container Alignment but nothing else under Customize.

Make sure the Spacing module is activated at appearance > GeneratePress.

YOU ARE A GEM Ying... {{{HUGS!}}}
I've been trying to accomplish this for days now.

You were right... I did NOT have the Space module activated. DO NOW! :-)

I'm dancing... I can FINALLY get on with the job at hand. Soooo appreciate your help with this!!!!

THANK YOU!!!!!!!!!!!!!!

Glad to hear that :)

This archived topic is closed to new replies.