SK
(@sooskriszta)
You can use css to make forum list appear “vertically” in the plugin.
display:block; should do it.
Thread Starter
mann1
(@mann1)
Can you please elaborate what exactly to do ? I’d be really really thankful to you for this as I’m in a mess
SK
(@sooskriszta)
Try putting
.bbp-forum-info .bbp-forums li {display:block;}
in your theme’s CSS
Thread Starter
mann1
(@mann1)
Thank you very much. That was really helpful! π
SK
(@sooskriszta)
Glad to be of help.
If this solved your issue, please mark this thread as “resolved”. Thanks!
Thread Starter
mann1
(@mann1)
Thanks, have marked that now.
Hi,
Can you tell us where we would put this?
There’s nothing for forums that we can see in the CSS file for our theme. But under the bbpress files, we tried mucking around with inserting the above code and don’t know where it goes “Forums (Index) Page Template.”
Thanks,
Jennifer
<?php
/**
* Template Name: bbPress – Forums (Index)
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php get_header(); ?>
<div id=”container”>
<div id=”content” role=”main”>
<?php do_action( ‘bbp_template_notices’ ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id=”forum-front” class=”bbp-forum-front”>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<div class=”entry-content”>
<?php the_content(); ?>
<?php bbp_get_template_part( ‘bbpress/content’, ‘archive-forum’ ); ?>
</div>
</div><!– #forum-front –>
<?php endwhile; ?>
</div><!– #content –>
</div><!– #container –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
`
Sorry, the code I pasted above is from the file I named!
Thanks! I have added that code and it worked fine, however I’m wanting to add a space/gap between the forum now that they’re listed vertically. How do I do this?
Nicoleeuk To add spacing between the items of your listing you need to add padding or margin
.bbp-forum-info .bbp-forums li {
display:block;
padding-right: 2px;
}
Will add a 2 px space between the first item and the item to the right of it.
You can fully customize the looks of the items of how far apart they should be from each other with padding.