Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Paragraph spacing problem

5 Posts
3 Users
0 Likes
777 Views
Jason Toth
Posts: 13
Customer
Topic starter
(@jason-toth)
Member
Joined: 1 year ago
Hello. I just purchased the PM plugin for WPforo.
 
In the PM box when I type there is a space after the paragraph, but when I sent it space is lost.
 
Any ideas on this?
 
See attached sample of text when typing, then what it looks like when sent.
 
I checked the back end and there is a <p> code after each return.
 
I am using Enfold and WP 5.7.
 
 
Jason

Sample of PM with no para space
Sample of PM showing para space in typing

 

4 Replies
Tom
Posts: 3858
 Tom
Admin
(@tomson)
Famed Member
Joined: 7 years ago

@jason-toth,

The editor and the message list are different environments with different CSS style rules for paragraphs. You can use this CSS code to make them closer. Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, go to forum front-end and press Ctrl+F5:

#wpforo #wpforo-wrap .wpfpm-msg-inner p {
     margin-bottom: 7px;
}
Reply
Jason Toth
Posts: 13
Customer
Topic starter
(@jason-toth)
Member
Joined: 1 year ago

Thank you very much. That worked perfectly. I wanted to add more space so I just changed it to 12px and looks good to me now.

Best, Jason

 

Reply
Jason Toth
Posts: 13
Customer
Topic starter
(@jason-toth)
Member
Joined: 1 year ago

One more issue, not sure if this was caused by the above code. But on the posts, they look like they have too much space (leading) now. Space after and before paragraphs are fine, but the actual line leading is too much. See attached sample of a post page:

https://www.writersofthefuture.com/forum/the-contest-quarterly-topics-and-other-items/wotf-forum-upgrade/paged/2/#post-36497

Is this related to the CSS I just added or do I need to use another CSS to adjust the leading?

Thanks.

Reply
1 Reply
Tutrix
Customer
(@tutrix)
Joined: 2 years ago

Member
Posts: 42

@jason-toth

the space comes from your WP theme

add this CSS Code (Custom CSS)

#wpforo #wpforo-wrap .wpforo-post-content p {
    line-height: 20px !important;
}
Reply
Share:
Scroll to top