Skip to:
Content
Pages
Categories
Search
Top
Bottom

Highlight / style question differently from replies


  • GreenDiablo
    Member

    @greendiablo

    I’m trying to find a way to style/highlight the actual question content differently from replies (in single-topic). The way it is setup by default it looks more like the question is the first reply.

    Where could I add a different class for the actual question and also for the bbp-reply-header?

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

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Adding…

    add_filter( 'bbp_show_lead_topic', '__return_true' );

    …to a custom plugin or your themes’ functions.php will separate the lead topic out from its replies.

    As far as styling goes, opening up Firebug/Inspector and using the classes in the templates should be enough to get you by. Some extra classes were added in the development version of bbPress, which will hopefully be out in a few weeks.


    GreenDiablo
    Member

    @greendiablo

    Worked like a charm!! Thanks!

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

You must be logged in to reply to this topic.