Page Index Toggle Pages: 1
Topic Tools
Normal Topic Space between each post (Read 2,037 times)
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Space between each post
Reply #5 - Apr 21st, 2012 at 2:38am
Post Tools
He he - no worries. It doesn't really matter which way you do it anyway - whichever one you prefer.
  
Back to top
 
IP Logged
 
westwegoman
Ex Member
**




None
Re: Space between each post
Reply #4 - Apr 21st, 2012 at 2:11am
Post Tools
Derek Barnstorm wrote on Apr 21st, 2012 at 1:11am:
Silly question, but did you edit the correct template - I believe you're using the old 2.1 style for posts?

Yes, I am using the 2.1 template for post. So there lays the problem...me Shocked Wrong template edited.

I just tried editing the display.template in the yabb21 folder and it worked but the following also showed up in the space as text.
Code
Select All
style="margin-bottom: 5px;"> 



So I went back to the css file and did it that way.

Goof up on my editing skills. It now works with the yabb21 display.template file edit. I missed a set of quotes the first time. Not even sure how it even worked with the misplacement.
« Last Edit: Apr 21st, 2012 at 2:27am by WestwegoMan »  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Space between each post
Reply #3 - Apr 21st, 2012 at 1:11am
Post Tools
No problem. Smiley

WestwegoMan wrote on Apr 21st, 2012 at 12:43am:
Didn't see any change when I edited display.template.

Silly question, but did you edit the correct template - I believe you're using the old 2.1 style for posts?

WestwegoMan wrote on Apr 21st, 2012 at 12:43am:
The IOU on the beer is adding up

Just using YaBB and putting the Mods to use is enough payment for me. Smiley
  
Back to top
 
IP Logged
 
westwegoman
Ex Member
**




None
Re: Space between each post
Reply #2 - Apr 21st, 2012 at 12:43am
Post Tools
Thanks Derek. The css edit actually worked perfect. Didn't see any change when I edited display.template.

Derek Barnstorm wrote on Apr 21st, 2012 at 12:29am:
I can't view the attachment

I noticed that also. Maybe thats a bug in this forum. I tried several times to upload the image again with no luck.

Either way, thanks for your help again. The IOU on the beer is adding up Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Space between each post
Reply #1 - Apr 21st, 2012 at 12:29am
Post Tools
I can't view the attachment, but I think this is what you mean...

You'd probably be best off doing it inline. In Display.template find:

Code
Select All
$messageblock = qq~
<div class="displaycontainer"> 


And add the highlighted:

Code
Select All
$messageblock = qq~
<div class="displaycontainer" style="margin-bottom: 10px;"> 


You could do it in the style sheet, but that would affect other areas like the button menu too, so I think the first way will work best for you:

Code (CSS)
Select All
.displaycontainer {
  width: 100%;
  padding: 1px;
  background-color: transparent;
  margin-bottom: 10px;
} 

  
Back to top
 
IP Logged
 
westwegoman
Ex Member
**




None
Space between each post
Apr 20th, 2012 at 11:59pm
Post Tools
Ok. I really thought I could do this on my own but I am not a genius with css. I want to increase the gap between each post if possible. Can anyone help with this?

I'm using the camo template.
« Last Edit: Apr 21st, 2012 at 12:04am by WestwegoMan »  

border.jpg ( 16 KB | 110 Downloads )
border.jpg
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top