[Suggestion] Featured posts add-on, maximum height

anon666

Member
Hi, there.
I really like the Featured posts add-on, but I find it takes up too much space. In the options you can choose the maximum number of characters, but in the posts that start with an image or a video, it is shown in full size, occupying a large part of the "Forums" page.

Couldn't you make a modification to the code to specify the maximum height?

Thank you.
 

anon666

Member
It has no effect on videos. The html code of the videos, generated by the "s9e media" add-on is:

HTML:
<span data-s9e-mediaembed="youtube" style="display:inline-block;width:100%;max-width:640px">
....
</span>

style="display:inline-block;width:100%;max-width:640px" has priority over all other css tags

I have chosen to remove these lines from the add-on template "andy_featuredposts":

HTML:
<div class="featuredposts-message">
    {{ bb_code(snippet($post.message, {$xf.options.featuredPostsLimit}), 'post', $post) }}
</div>

And so nothing of the content of the post is shown (within the default style, in my case 'Shades of Blues')
 
Top