Paragraph formatting in the rich text editor

Solved

Paragraph formatting in the rich text editor

woolywalkers
Tourist
8 0 1

I am using the Craft theme and when using the rich text editor on a section I am getting way too much spacing between paragraphs. Like when entering a name and address, it double spaces when I press return. How can I change the paragraph spacing? The dropdown menu in the editor gives options for 6 different Headings and one option for "Paragraph". Is there a way to get it to simply single space?

Accepted Solution (1)
suyash1
Shopify Partner
10716 1324 1700

This is an accepted solution.

@woolywalkers please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css

 

.rich-text__text p{margin-bottom: 0px; margin-top: 0px;}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

View solution in original post

Replies 5 (5)

suyash1
Shopify Partner
10716 1324 1700

@woolywalkers Can you please share this page link where you are facing this issue?

Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
woolywalkers
Tourist
8 0 1

Here is the link. I'm referring to the Image with Text section toward the bottom of the page. I don't want the address to be double spaced.

suyash1
Shopify Partner
10716 1324 1700

This is an accepted solution.

@woolywalkers please add this css to the very end of your base.css file and check,
Shopify Admin -> Online Store ->Theme -> Edit code -> base.css

 

.rich-text__text p{margin-bottom: 0px; margin-top: 0px;}
Support me | To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
woolywalkers
Tourist
8 0 1

Thanks, that worked for this situation.