Hi, in my website I have a masonry gallery conteining all the front pages of my magazine. Every new one I simply add the last release and move it as the first one showing. It has been working for years, but this morning I can’t sort the images order in the gallery. There is no way to move that last pic to the first position.
Can you please help me fix it?
Hey emanuelecocchiaro,
Please try this in your functions.php file:
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
Hi!
The issue is related to WordPress 5.9 and it will be fixed in upcoming version. You can read more here: https://core.trac.wordpress.org/ticket/54902
This is caused by a regression in the jQuery UI Sortable library, a fix has been released for the library, and will be included in the upcoming release of WordPress 5.9.1
Best regards,
Yigit
Hey guys, I added this to my functions.php on child theme and it did not fix the issue.
Any other suggestions?
Thanks,
Rob
(I also created my own thread on this issue)
Hi Rob,
Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.
Best regards,
Rikard