Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1338660

    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?

    #1338688

    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

    #1338758
    This reply has been marked as private.
    #1338760

    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

    #1341450

    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)

    #1341493

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.