Skip to:
Content
Pages
Categories
Search
Top
Bottom

styling forum name besides each topic


  • enkoes
    Participant

    @enkoes

    I’m using shortcode bbp-topic-index as my forum frontpage. I would like to style my page similar to how it look like in bbpress support forum. My question is how do I highlight those forum names beside each topic created?

    see screenshot: https://paste.pics/KPDVE

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

  • Robin W
    Moderator

    @robin-w

    #bbpress-forums p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #328C00;
    }

    put this in your themes custom css area


    enkoes
    Participant

    @enkoes

    The CSS works great! Thank you.

    One step further, is it possible to specify different highlight color for different forum name? Says green for this forum name, red for another forum name.


    Robin W
    Moderator

    @robin-w

    note tested but possibly

    #bbpress-forums .bbp-parent-forum-12345 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #328C00;
    }
    
    #bbpress-forums .bbp-parent-forum-12346 p.bbp-topic-meta .bbp-topic-started-in a {
        background-color: #ff4b33;
    }

    enkoes
    Participant

    @enkoes

    Yes… again, this CSS proven workable.

    Thanks for your help, Robin!


    Robin W
    Moderator

    @robin-w

    Great – glad you are fixed 🙂

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