Notifications
Clear all

wpForo 1.x.x [Closed] Soft Return for text directly under signature

6 Posts
2 Users
1 Reactions
787 Views
Posts: 91
Topic starter
(@jasontoth)
Estimable Member
Joined: 4 years ago

I would like to figure out how to make text directly under a signature without a huge space.

I tried doing a shift+return to do a "soft" return, but still a huge amount of space.

Here is a sample post:

https://www.writersofthefuture.com/forum/about-the-forum-start-here/new-users-introduce-yourselves/paged/209/#post-36799

If you look code it is:

<p>Wulf Moon<br />Forum Moderator</p>

The <br/> should make the text directly under the "Wulf Moon".

Any ideas on this? Thanks so much. Jason

5 Replies
Tutrix
Posts: 1453
(@tutrix)
Noble Member
Joined: 5 years ago

@jasontoth

use inline CSS

example

<p style="line-height:14px;">Wulf Moon<br>Forum Moderator</p>

 

Wulf Moon
Forum Moderator

 

Posts: 91
Topic starter
(@jasontoth)
Estimable Member
Joined: 4 years ago

Thank you very much! Is there a global way to set this so that the person doing this, who dose not know code, is able to execute this? I understand your inline recommendation, but not sure that others will understand this. Thanks, Jason

 

Posts: 91
Topic starter
(@jasontoth)
Estimable Member
Joined: 4 years ago

I was looking at my old forum on phpBB and basically what I see is that the leading is much tighter, but there is a nice large space after each paragraph. When I try and do the line space adjusting in the CSS it looks like it is effecting the leading and space after a paragraph. Any way to control separately?

Here is a sample of my old forum as a screen shot.

1 Reply
Tutrix
(@tutrix)
Joined: 5 years ago

Noble Member
Posts: 1453

@jasontoth

https://gvectors.com/forum/postid/27928/

and add this too

#wpforo #wpforo-wrap .wpforo-post-content p {
    margin-bottom: 15px  !important;
}
Posts: 91
Topic starter
(@jasontoth)
Estimable Member
Joined: 4 years ago

Perfect. This makes sense now. I was missing the part about the bottom margin, which now looks correct.

So I used both:

#wpforo #wpforo-wrap .wpforo-post-content p {
line-height: 1.5 !important;
}
#wpforo #wpforo-wrap .wpforo-post-content p {
margin-bottom: 14px !important;
}

This resulted in it looking like my old forum.

https://www.writersofthefuture.com/forum/the-contest-quarterly-topics-and-other-items/wulf-moons-super-secrets-workshop-challenge/#post-926

Thanks again. Jason