Skip to:
Content
Pages
Categories
Search
Top
Bottom

Theming Issue!


  • mikeygyse
    Member

    @mikeygyse

    I’m using the latest version of bbpress, the ‘SuperBold’ theme and I have a problem! The forums all appear on the same line… no indentation separates the ‘containers’ from the forums. From what I can see with FireBug there is NO difference between the containers and forums no difference in terms of CSS at any rate. However with the Kakumei theme it works.

Viewing 6 replies - 1 through 6 (of 6 total)

  • fel64
    Member

    @fel64

    Can you provide some links and/or code please?


    chrishajer
    Participant

    @chrishajer


    mikeygyse
    Member

    @mikeygyse

    Fixed it, it’s an issue with incorrect/missing code in the SuperBold Front-Page.php file


    fel64
    Member

    @fel64

    Can you be more specific? In case someone else is looking for a solution to the same thing?


    mikeygyse
    Member

    @mikeygyse

    The solution is to rip out the code

    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>

    <?php foreach ( $forums as $forum ) : ?>
    <tr<?php alt_class('forum'); ?>>
    <td><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a> — <small><?php forum_description(); ?></small></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endforeach; ?>
    </table>

    from Superbold-bbpress/front-page.php

    and replace it with

    <?php if ( bb_forums() ) : ?>
    <h2><?php _e('Forums'); ?></h2>
    <table id="forumlist">

    <tr>
    <th><?php _e('Main Theme'); ?></th>
    <th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>
    </tr>
    <?php while ( bb_forum() ) : ?>
    <tr<?php bb_forum_class(); ?>>
    <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
    <td class="num"><?php forum_topics(); ?></td>
    <td class="num"><?php forum_posts(); ?></td>
    </tr>
    <?php endwhile; ?>
    </table>
    <?php endif; // bb_forums() ?>

    from Kakumei/front-page.php


    mikeygyse
    Member

    @mikeygyse

    and also ensure that

    #forumlist tr td div.nest {
    padding-left: 2.5ex;
    }

    is added to Style.css

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar