Skip to:

Moving time-since span

  • johnsimoneau


    To match our design… I need to move the time-since span in the activity stream down a line… out of that activity header paragraph. I tried just absolute positioning instead but that’s not working since it’s part of the paragraph which grows when there is a post to a group.

    Any css tricks I’m not thinking about?

    Or if I have to modify a template file then where exactly is the one I modify? We have a child theme kinda going but I’m not sure where that part is coming from or how to move the span out of that paragraph and down a line.

    Thanks for any help with this. I can’t point you to the site because it’s in maintenance mode but it should be the same I imagine with the default wordpress/buddypress layout.

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

  • johnsimoneau


    hmm… I tried to do it with jquery which I don’t remember much to know if I’m doing it right.

    It worked except it replicated the time html like 5 times in each instance on the page.

    Any ideas how to get it not doing that?

    $( ".time-since" ).appendTo( $( ".activity-header" ) );


    The simplest answer is probably to style that span as display: block then you have a number of options for forcing it below other elements. It’s going to depend a lot on your theme.

    If you choose to modify the template, the template to modify would go in child-theme/buddypress/members/member-header.php.

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