Fern
New Member
Posts: 51
inherit
189788
0
Jul 14, 2023 12:38:27 GMT -8
Fern
51
February 2013
frostkit
|
Post by Fern on Mar 3, 2015 10:45:27 GMT -8
Is there already a plug in available for putting your categories and boards into two columns? If so, what is it?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 3, 2015 14:59:17 GMT -8
You'd probably be better off using a layout template modification for that. Substitute the contents of Themes > Layout Templates > Board > Board List with this: Then add this to the bottom of Themes > Advanced Styles & CSS > Style Sheet.
|
|
Fern
New Member
Posts: 51
inherit
189788
0
Jul 14, 2023 12:38:27 GMT -8
Fern
51
February 2013
frostkit
|
Post by Fern on May 3, 2015 9:57:44 GMT -8
I don't want to resize them, I want to make it so there's two columns of them.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 7, 2015 9:42:31 GMT -8
But... that's exactly what it does. You have to resize them because you can't place anything beside an element that's taking up 100% of the width.
|
|
inherit
bryroleplayer96@gmail.com
196114
0
Apr 20, 2021 19:41:25 GMT -8
tis ✻ bry
Annie, are you okay, are you okay, Annie are you okay...
106
June 2013
hopelessrecluse
|
Post by tis ✻ bry on May 7, 2015 11:03:04 GMT -8
Hi, I don't mean to butt in, but there's another template that I use, personally, to achieve the two-column effect. It is here. Put it in the same place that Brian told you to put his code. It takes a little bit of CSS styling afterward, but it achieves the two columned look.
|
|
Mojo
New Member
Posts: 7
inherit
187058
0
Aug 13, 2016 12:12:43 GMT -8
Mojo
7
December 2012
kadina
|
Post by Mojo on Jan 25, 2016 11:23:40 GMT -8
How would you update the CSS to include a break between the columns?
|
|
inherit
256654
0
Apr 1, 2020 12:31:29 GMT -8
Tovaana
7
October 2018
blisswood
|
Post by Tovaana on Nov 18, 2019 22:48:17 GMT -8
I tried using both options above, the first one didn't work... The second one worked, but it took out the coding for fonts and sizes that were imported with a template... I'm horrible with trying to understand code - but is there an easier way to get two columns for the boards under each category? Or a step-by-step coding thing I could try to mess with what I've already got? A plugin would be awesome. TIA!
<table class="list" role="grid"> <thead> <tr> <th class="icon"></th> <th class="main">Board</th> <th class="threads">Threads</th> <th class="posts">Posts</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if}</td> <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} $[board.last_thread.recent_link]<br /> by $[board.last_thread.last_post.created_by]<br /> <span class="date">$[board.last_thread.last_post.created_on]</span> {/if} {else} No posts have been made on this board. {/if} </td> </tr> {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="4"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {/foreach} {if !$[board]} <tr class="last"><td class="last center" colspan="5">No boards were found.</td></tr> {/if} </tbody> </table>
|
|