Tagged: masonry
I have a problem in my site
The masonry not operate correctly, the images not appear
Notice: Undefined variable: img_style in /home/redhico/designingmylife.xyz/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php on line 497
Hey alexledesma,
Thank you for using Enfold – and sorry for the problems.
I fixed the warning – now your homepage seems to work correctly. Can you check please.
If you need the updated file:
Will be fixed in next update.
Best regards,
Günter
that line 442 –
$img_style = '';
why don’t I have this error message?
I don’t install any other Enfold than all the others. Nevertheless, I have to observe that some people describe “bugs” that I can’t reproduce.
Is it because I have activated the latest php version?
PS : on trying to reproduce the issue – i see that if you have on masonry or masonry gallery a custom background color. And have large gaps. it might be looking nicer if :
#top .container .av-masonry.av-large-gap {
padding: 15px 0 0 15px;
}
Hi,
$img_style was readded in 4.8.6 to fix problem with “Load More” and background images – probably that’s why we missed it.
I adjusted the CSS for large gaps in core (enfold\config-templatebuilder\avia-shortcodes\masonry_entries\masonry_entries.css) – good suggestion – as always. Thanks.
Best regards,
Günter
Thank you very much, everything is resolved