Content block - distance between paragraphs

Permalink Browser Info Environment
Hello.

How can I decrease the distance between paragraphs in content block?
I attached 2 screenshots, one with Elemental theme, one with Pixel theme.

Thanks.

2 Attachments

Type: Discussion
Status: Resolved
cristi78
View Replies:
shahroq replied on at Permalink Reply
shahroq
You can add separate instances of the Content block. Then on "Design & Custom Template" you would have the ability to add margin.
cristi78 replied on at Permalink Reply
cristi78
That's not an option for text with multiple paragraphs.

Anyway, I modified 2 variables in variables.dev.less
@line-height-base:              1;
@line-height-content:           0.2;

and things got better.

Will this break something else?

Thanks.
shahroq replied on at Permalink Reply
shahroq
What you did makes sense.
cristi78 replied on at Permalink Reply
cristi78
It seems it doesn't make a lot of sens as it broke a lot of other things while correcting distances between p's in CKEditor...
shahroq replied on at Permalink Reply
shahroq
The default margin-bottom is 30 px. You can override it by putting this in variables.dev.less
p {
margin-bottom: 50px!important;
}
cristi78 replied on at Permalink Reply
cristi78
This seems to be the correct one. As I want less space I set it to 20 px.

And again, thanks!!!

concrete5 Environment Information

-

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.