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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

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