Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Recently active avatars


  • enquirer32
    Participant

    @enquirer32

    I’m using a widget which shows the most active members. They are all listed in one column (with no space above/below each image). Is there a way to get them to run in, say, 3 or 4 columns? How do I add a space in between each avatar? I need some kind of dynamic css where, for example:

    img.avatar.user-2-avatar {
    margin-top: 4px;
    }

    Is set for user-2, but how can I set this for all of them?

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

  • @mercime
    Participant

    @mercime

    You’d need to add something like float:left to the avatar images in your sidebar. Site URL?


    enquirer32
    Participant

    @enquirer32


    @mercime
    Participant

    @mercime

    .widget_bp_core_recently_active_widget .item-avatar,
    .widget_bp_core_whos_online_widget .item-avatar {
    float: left;
    height: 50px;
    width: 50px;
    margin: 0 5px 5px 0;
    }

    Adjust to taste

    Why the url shortened link? Please post proper links, many rightly won’t click url shortened links directing who knows where.


    enquirer32
    Participant

    @enquirer32

    Thanks Mercime.

    Hi Hugo. I am disinclined to post real urls on Forums because I don’t like them showing up in a search engine’s results so everyone can see what domain issues may relate to which may also raise possible security issues. Thankfully mercime did click(?). I have included the real link to the website I am communicating about in my Profile (which was updated before posting a short url). url links are often only temporary since once an issue has been resolved then there is no example of the ‘problem’ to view so it only really impacts the help factor in the short term. Hope that answers your question.


    stephenbuck415
    Participant

    @stephenbuck415

    Has the css code provided by @mercime changed, and to what file does it get added?


    @mercime
    Participant

    @mercime

    @stephenbuck415 you can still use the styles posted above. You add that to your theme’s style.css file or to stylesheet enqueued by your theme

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Recently active avatars’ is closed to new replies.
Skip to toolbar