gallery drag and drop sort doenst work anymore. newest theme version ( 4.8.9) and also theme version 4.8.7.1
please correct
Just to say I am having the same problem on 2 sites. Have updated to latest theme, but drag and drop in the gallery does not work.
Hi,
This problem was introduced in WordPress 5.9: https://core.trac.wordpress.org/ticket/54902. We don’t have a solution for this as of now, rolling back WordPress to a previous version would likely work though: https://increasily.com/how-to-downgrade-wordpress/
Best regards,
Rikard
Hi,
Thank you for your patience.
Adding this code in the functions.php file should fix the gallery sorting.
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,
Ismael
ok. i have more than 100 client sites with enfold. can i wait for update of wordpress to 5.9.1? or have i fill it to all sites?
Hi,
It will be added in the next update. Temporarily, you will have to add the css override to the site when you need to sort the gallery items.
Best regards,
Ismael
My question: when the update from WP (5.9.1) is out, is it then obsolete?
Hi caw67,
We can’t say that for sure, but I’m pretty confident that this bug will be fixed in WP 5.9.1. You should not have to add any fixes after you have updated to 5.9.1.
Best regards,
Rikard
Thanks!