|
PreviewIn the Thread template, select the Thread tab. Find this (lines 16-27 in default template): <div class="content cap-bottom"> $[thread.labels] $[poll] <table class="list" role="presentation"> <tbody class="$[list_class]"> $[post_list] </tbody> </table> {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if} </div> Replace with this: <div class="content cap-bottom"> $[thread.labels] $[poll] </div> <div class="$[list_class]"> $[post_list] </div> {if !$[quick_reply]}{if $[bottom_reply_button]} <div class="reply_button pad-all-double">$[bottom_reply_button]<br class="clear" /></div> {/if}{/if} Now, select the Post List tab. Find this (lines 49-52 in default template): {/foreach} {if !$[post]} <tr class="last"><td class="last center" colspan="1">No posts were found.</td></tr> {/if} Replace it with this: </tbody> </table> </div> </div> {/foreach} {if !$[post]} <div class="container"> <br /> <div class="title-bar"> <h1>No Search Results</h1> </div> <div class="content cap-bottom"> <table class="list" role="presentation"> <tbody class="$[list_class]"> <tr class="last"><td class="last center" colspan="1">No posts were found.</td></tr> </tbody> </table> </div> </div> {/if} Find this (line 1 in the default template): {foreach $[post]} Replace with this: {foreach $[post]} <div class="container"> <br /> <div class="title-bar"> <h1>$[post.subject]</h1> </div> <div class="content cap-bottom"> <table class="list" role="presentation"> <tbody class="$[list_class]">
Last Edit: Jan 9, 2013 18:25:46 GMT by Chris
|
|
|
|
|
As you're aware, I wanted this, so thanks a bunch
|
|
|
|
Thanks for this Chris. Just what I have been looking for!
|
|
|
|
Chris, what would be the easiest way to increase or decrease the gap size for the posts? Is there something I can add somewhere to do this? Much appreciated.
|
|
|
|
Chris, what would be the easiest way to increase or decrease the gap size for the posts? Is there something I can add somewhere to do this? Much appreciated. In the last replacement, try this: {foreach $[post]} <div style="height: 15px"></div> <div class="container"> <br /> <div class="title-bar"> Just change the 15px
|
|
|
|
|
|
So, what's the issue?
|
|
|
|
|
So, what's the issue? You honestly can't see? As a coder, you know that 5px does not equal to that. Look at how huge that gap is, it's a lot more than 5px
|
|
|
|
So, what's the issue? You honestly can't see? As a coder, you know that 5px does not equal to that. Look at how huge that gap is, it's a lot more than 5px Read it as 15. Anyways, probably a br in there instead. Shouldn't be a min-height attribute forcing it to at least 10 or so. *shrugs* I can't debug what I can't see (i.e. URL or no help )
|
|
|
|
|
You honestly can't see? As a coder, you know that 5px does not equal to that. Look at how huge that gap is, it's a lot more than 5px Read it as 15. Anyways, probably a br in there instead. Shouldn't be a min-height attribute forcing it to at least 10 or so. *shrugs* I can't debug what I can't see (i.e. URL or no help ) stinky666themes.freemessageboards.com I assume putting the gap size to a minus could work?
|
|
|
|
Could it not just be the <br /> here? {foreach $[post]} <div class="container"> <br /> <div class="title-bar"> <h1>$[post.subject]</h1> </div> ...
Last Edit: Feb 24, 2013 11:48:07 GMT by JD
|
|
|
|
Could it not just be the <br /> here? {foreach $[post]} <div class="container"> <br /> <div class="title-bar"> <h1>$[post.subject]</h1> </div> ...
It is. I thought I had removed that from the above. Whoops.
|
|
|
|
|
This is great, but I have a suggestion. Take it or leave it, but make the "gap" size match up with the gaps between boards and the rest of the forum by default - for aesthetics!!
|
|
|
|
This is great, but I have a suggestion. Take it or leave it, but make the "gap" size match up with the gaps between boards and the rest of the forum by default - for aesthetics!! It's easier to let them manipulate it.... mostly because I'm pretty sure that's done via a class, and then they have to deal with adding/removing classes instead of adjusting a single number that they've dealt with before.
|
|
|
|