Tagged: bug, Lightbox, Masonry Gallery
-
AuthorPosts
-
April 19, 2017 at 9:22 pm #780160
If you are in Enfold 4.0.5 version in the Masonry Gallery at the picture link style “Lightbox link disabled”, the gallery is no longer displayed! Because the DIV area is <div class = “av-masonry-container isotope” style = “position: relative; height: 0px;”> a height of 0px gets! This is not supposed to be so, or ;)
Wenn man in Enfold 4.0.5 Version in der Masonry Galerie beim Bild-Link Stil “Lightbox verknüpung deaktiviert” auswählt wird die Galerie gar nicht mehr angezeigt! Weil der DIV Bereich <div class=”av-masonry-container isotope” style=”position: relative; height: 0px;”> eine höhe von 0px bekommt! Das soll nicht so sein, oder;)
best regards,
JayJay :DApril 20, 2017 at 9:31 pm #780791Hey Jörg,
Can you try the solution in this post: https://kriesi.at/support/topic/masonry-gallery-not-working-2-2/#post-771510
Best regards,
NikkoApril 20, 2017 at 9:48 pm #780803HI Nikko,
sorry the topic “https://kriesi.at/support/topic/masonry-gallery-not-working-2-2/#post-771510” is closed….April 20, 2017 at 10:48 pm #780866Hi,
I’m referring to the solution given by Ismael, the link I gave should point exactly to it. Try to edit the js > shortcodes.js file, look for this code around line 1272:
filters['itemSelector'] = "a.isotope-item";
replace it with this code:
filters['itemSelector'] = ".isotope-item";
Let us know if this helps.
Best regards,
NikkoApril 21, 2017 at 10:16 am #781078Hi Nikko,
sorry, i have it misunderstood was probably already too late and yes that works ;)I had the following solution installed at the customer the Colume Custon CSS class with name NotOpen and in its own plugin the following script (would also work in the functions.php)
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘.NotOpen .av-masonry a’).each(function(){
jQuery(this).removeAttr(“href”);
});
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_custom_script’);So as a solution idea perhaps for others;)
thanks and best regards,
Jörg :DApril 21, 2017 at 10:33 pm #781450Hi,
Glad we could help and thanks for sharing the solution :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.