• Resolved bgl5

    (@bgl5)


    Suddenly the gallery title does not appear below the thumbnails in the album in the browser Edge, Opera, and Chrome, but it works in Firefox. It turns out that titles that contain a space seem to be causing the problem. If I delete the space the title will show correctly, otherwise only three dots are displayed and if you inspect the code, the following has been added:

    <span class=”js-shave-char”>…</span>
    <span class=”js-shave” style=”display: none;”> Gallery titel </span>

    Uses the latest version of NextGEN Gallery V 3.23 and the latest version of WordPress 59.2. All plugins are updated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bgl5

    (@bgl5)

    I managed to find two possible ways to get the gallery title back and get rid of the dots. Either by a css code or a function. Both seem to work. However, I do not understand why this error suddenly occurs and not in Firefox.

    Css-code
    span.js-shave {
    display: contents!important;
    }
    span.js-shave-char {
    display: none;
    }

    Function
    /**
    * Dequeue plugin scripts
    *
    * Hooked to the wp_print_scripts action, with a late priority (100),
    * so that it is after the script was enqueued.
    */
    function wp_dequeue_plugin_scripts() {
    wp_dequeue_script(‘shave.js’);
    }
    add_action( ‘wp_print_scripts’, ‘wp_dequeue_plugin_scripts’, 100 );

    Plugin Contributor Imagely

    (@imagely)

    Hi @bgl5,

    We use Shave jQuery plugin to manage and automatically trim the long captions so it hides the amount of characters needed for the caption to remain of a regular size ( one row ) based on the thumbnails’ size. While we are not aware of any problems with it happening specifically in Edge, Opera or Chrome, we are not excluding it acting differently based on the size of the thumbnail or on the caption that’s being used.

    There’s a very easy CSS workaround though that should allow displaying the captions entirely and apparently, you have already found it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery titles disappeared’ is closed to new replies.