Skip to:
Content
Pages
Categories
Search
Top
Bottom

Any way to fix activity stream thumbnails from sub-blog posts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of Bowe
    Bowe
    Participant

    @bowromir

    Just add the following css to your custom stylesheet:

    `
    div.activity-inner img {
    max-width: 500px;
    height: auto;
    width: auto;
    }
    `
    This sets the height and the width of the image properly. If the image width exceeds 500px (the size of your stream container) then it will (css) crop the image. Hope this helps!

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Thanks Bowe!

    Avatar of Bowe
    Bowe
    Participant

    @bowromir

    One other thing I recommend to add is also adding a max-height rule:

    `
    max-height: 150px;
    `

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    Any way to differentiate between a sub-blog post image and a main blog update? I’d like to size blog post images like thumbnails, but allow for larger images in regular bp activity updates.

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

You must be logged in to reply to this topic.