UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

EasySocial Stream location for Masonry

Maurice Womack · ·
2:42 AM Thursday, 05 December 2013
None
I'm trying to add the jquery Masonry script to my ES stream. I can't figure out which file I need to add the script to. I tried the default.php file in the Stream folder but it didn't work. Below is the code snippet that I am adding. I've done this before for easyblog posts and it worked fine. I have the stream items showing in a 2 column layout but I can't get the items to align vertically. (see my homepage) Any suggestions?

<script type="text/javascript">
EasyBlog.require()
.library('masonry')
.done(function($){
$('.es-content').masonry({
// options. see their site for full API reference
columnWidth: 75px,
itemSelector: '.es-stream',
padding: '1px',
isAnimated: true,
});
});
</script>
The replies under this section are restricted to logged in users or users with an active subscription with us