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)

  • 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!


    gregfielding
    Participant

    @gregfielding

    Thanks Bowe!


    Bowe
    Participant

    @bowromir

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

    `
    max-height: 150px;
    `


    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)
  • The topic ‘Any way to fix activity stream thumbnails from sub-blog posts?’ is closed to new replies.
Skip to toolbar