Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change the color of the link


  • virusek89
    Participant

    @virusek89

    Hello,

    How to change the color of stranded author (the freshness)

    or give advice in the code below to insert a color somewhere?

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>

    Please help.

    Sorry for my bad english

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

  • Robin W
    Moderator

    @robin-w

    put this code into your style.css in your theme

    #bbpress-forums li.bbp-header {
    	background: #dc9e5a !important ;
    }

    You should select the color you want


    virusek89
    Participant

    @virusek89

    Hello @Robin Unfortunately, this code only changes the color of header
    and I want to change the color of the link which is next to the small avatar in freshness “link with the name of the author”


    Robin W
    Moderator

    @robin-w

    do you mean no. 8 in the attached?

    bbPress Styling Crib


    virusek89
    Participant

    @virusek89

    I mean, the author links marked on the screenshot below.


    Robin W
    Moderator

    @robin-w

    This comes from your theme’s main style, in my case

    a:link { 
    color : #EEEEEE !important ; 
    }
    

    if you want to change this throughout your site, then drop this into your style.css (or amend the current setting)

    If you just want it in bbpress

    #bbpress-forums .bbp-author-name a:link { 
    color : #EEEEEE !important ; 
    }

    should work


    virusek89
    Participant

    @virusek89

    Everything works as it should color changed.


    @Robin
    thank you for your help 🙂


    Robin W
    Moderator

    @robin-w

    you’re welcome !

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