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.
How can I decrease the distance between paragraphs in content block?
I attached 2 screenshots, one with Elemental theme, one with Pixel theme.
Thanks.
Type: | Discussion |
---|---|
Status: | Resolved |
You can add separate instances of the Content block. Then on "Design & Custom Template" you would have the ability to add margin.
That's not an option for text with multiple paragraphs.
Anyway, I modified 2 variables in variables.dev.less
and things got better.
Will this break something else?
Thanks.
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.
What you did makes sense.
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...
The default margin-bottom is 30 px. You can override it by putting this in variables.dev.less
p {
margin-bottom: 50px!important;
}
p {
margin-bottom: 50px!important;
}
This seems to be the correct one. As I want less space I set it to 20 px.
And again, thanks!!!
And again, thanks!!!