Skip to:
Content
Pages
Categories
Search
Top
Bottom

CSS Question.

  • @l99k

    Participant

    Just a quick question…

    Is there a way to change the colour of the LINKS which show the last post time / last updated.
    I am using responsive theme.

    Also is there a way to make the text say something link READ MORE instead of the post time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @macpresss

    Participant

    We can’t help without Live example to view the source..

    @l99k

    Participant

    I simply mean the end text like in the Example Below…

    admin created the link Twitter Share Price and News. “1 day, 1 hour ago”.

    The “1 day, 1 hour ago” is a link but at the minute it’s grey and I would like
    to change it to BLUE or SAY Read More.

    The Theme is https://wordpress.org/themes/responsive

    Site isn’t Live Yet.

    @shubh14

    Participant

    For CSS – Add the following to your theme stylesheet and change it to whatever color you want

    #buddypress a.activity-time-since {
    	color: #aaa;
    	text-decoration: none;
    }
    #buddypress a.activity-time-since:hover {
    	color: #888;
    	text-decoration: underline;
    }

    The “1 day, 1 hour ago” text is coming from \plugins\buddypress\bp-activity\bp-activity-template.php line 1332
    $time_since = apply_filters_ref_array( 'bp_activity_time_since', array( '<span class="time-since">' . bp_core_time_since( $activities_template->activity->date_recorded ) . '</span>', &$activities_template->activity ) );

    However, It’s not recommended to change core files. And I have no idea how to do it externally. Hope this helps

    @l99k

    Participant

    Hi Shubh14… thank you very much. The CSS Changes Work Perfect.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS Question.’ is closed to new replies.
Skip to toolbar