Tagged: gunter
HELP!!! I am on a tight deadline for a client and have used Enfold for many many years. With the latest version there is a bug and I cannot reorder the masonry gallery (drag and reorder) photos anymore….. site is supposed to go live later today and I see other support threads on this.
I have two sites on Enfold and both are experiencing this same bug. I use Masonry all the time and this is definitely not user error or plugin conflict.
Hoping someone can urgently look at this issue and advise today…
Thanks
Rob
Hi Rob,
This problem is not theme related, it comes from WordPress core. Please try this in your functions.php file for a temporary solution:
function ava_custom_css_admin_mod() {
echo '<style>
.wp-core-ui .attachments:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
</style>';
}
add_action('admin_head', 'ava_custom_css_admin_mod');
Best regards,
Rikard
That worked, Rikard, thank you!!!
When WordPress 6.9.1 comes out Tuesday, should I delete this code from my functions.php?
I really appreciate you guys working on weekends to provide support, thank you!
Best
Rob
Hi,
Glad to know that the code is working. Yes, you can remove the code once the latest WordPress version is available. You may need toggle the Enfold > Performance > File Compression settings to reload the scripts.
Best regards,
Ismael
Hi all, I can confirm that the update to WordPress 5.9.1 with update to Enfold 4.9 and deleting the above code in functions.php fixes it… Masonry is back to normal. Thanks for your help with this and OK to close thread.