reduce space between blocks
-
Frustrated. I just don’t want so much space between some of my paragraphs, in some of my pages, in some of my posts. Why is it SO difficult? (seems impossible)
I have premium plan.The blog I need help with is: (visible only to logged in users)
-
Hi there,
To reduce space space between blocks, try this snippet and let me know if that works for you:
/* Paragraph spacing */ .entry-content p { margin-bottom: 10px; margin-top: 0; }Thanks!
-
Hi there,
Thanks for your answer.
This is a CSS snippet, right?
I am writing a blog post at the moment. It is not published yet. I want to publish it when it is ready. It cannot be ready before this space between my paragraphs get smaller.According to my understanding in order for this snippet to work, I have to publish the post first, right ? I cannot do that just yet.
-
The effect of the CSS snippet should show up when you preview the post. You shouldn’t have to publish it. Of course you are always welcome to wait until it is published before messing with the CSS.
-
Hello there. I don’t know how to use this snippet. Is there any guide or something? I googled it but all I find is related to WordPress.org or plugins that need plan upgrade. Thanks in advance
-
Hi! You would add it here:
https://dokimazotintrelamou.wordpress.com/wp-admin/customize.phpScroll down to the CSS section.
Note the snippet we provided here would affect paragraphs through the entire site. Basing the space on the font size may make more sense since I noticed you use big fonts sometimes too, so to affect the whole site, you’d us this:
/* Paragraph spacing */ .entry-content p { margin-bottom: .7em; margin-top: 0; }And you’d adjust that .7em setting as needed.
If you only want to affect one particular page or post, you’d probably want to do something in the block editor instead.
-
As I mentioned in my initial post
I want to change the space between “some of my paragraphs”. I am writing poetry sometimes and paragraph spacing is really important. I also want to edit this BEFORE I publish it.Thank you.
-
Hi there,
I should probably clarify that the WordPress text editor does not work like a traditional text editor like Microsoft Word or Google Docs, and does not have the same options for line spacing. This is not just a limitation of WordPress, but an issue that affects all online site editor and HTML sites in general. Website text editors just don’t behave the same and there is not much we can do on our end to change that.
So there may not be an option here that will give you exactly what you are looking for. However, I’m happy to take a look at your draft post and see where I can suggest a workaround perhaps. What is the title of your draft post and what is the area of text (so I know what I’m looking for) that you want there to be less spacing?
Thanks for the additional info!
-
Thank you for your time, but this is utterly annoying..
It is 2022,
I am paying,
I want certain spacing between some of my paragraphs. It is not rocket science, it is adjusting empty space. There is a button in the text editor that allows you to add blank space. Why there is not one to allow you reduce blank space?Thanks for your help, but I would prefer not to. I know there will be workarounds and I will find them. The thing is that workarounds add complexity and reduce time.. I am so very much disappointed, really.
- The topic ‘reduce space between blocks’ is closed to new replies.