I was experiencing that all divs after phocagallery plugin declaration are placed under content from above.
So I added
Code: Select all
echo '</div>';Code: Select all
} // end if count_matchesAnyone else experiencing the same issue?

Code: Select all
echo '</div>';Code: Select all
} // end if count_matches


Code: Select all
if ($count_matches != 0) {
PhocaGalleryRenderFront::renderAllCSS();
$lang = JFactory::getLanguage();
$lang->load('com_phocagallery');
for($i = 0; $i < $count_matches; $i++) {