Notifications
Clear all

wpForo 1.x.x [Closed] Post/topic space

4 Posts
2 Users
1 Reactions
1,586 Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Hi !

How can i insert an extra space before the body of topic/post start ? if the body has 1-2 lines, it would be better to have some air above.

Thanks

see the capture to understand.

3 Replies
Wendell
Posts: 242
(@wendell)
Reputable Member
Joined: 7 years ago
#wpforo #wpforo-wrap .wpforo-post .wpf-right .wpforo-post-content { padding: 20px 30px 10px 10px; }

Add this to the custom styles area of your theme. Note that the first padding value is for the top, so that is the one you want to change. The default is 10px. In the example above, I have changed it to 20px.

The easy way to remember the order of padding and margin values in CSS is to think of TRBL, pronounced like "trouble".

  • T = Top
  • R = Right
  • B = Bottom
  • L = Left

Hope that helps. 🙂

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Thanks @Wendell it works right but i put it to the Styles options of wpForo and not in my theme. Any problem with that ?

 

Wendell
Posts: 242
(@wendell)
Reputable Member
Joined: 7 years ago
Posted by: Anonymous20

Thanks @Wendell it works right but i put it to the Styles options of wpForo and not in my theme. Any problem with that ?

Oh yeah, I didn't even think of that. I would think that'd be just fine, and maybe even more appropriate than my suggestion.