• Resolved chuchuju

    (@chuchuju)


    Hello,
    There is an empty space between the slide and the navigation dots on posts and pages.
    Texts under are shifted and navigation experience for users is not so well because of this empty space… If I refresh the page, the empty space desappears.
    What could I do to change that ?
    Thank you so much.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author jgwhite33

    (@jgwhite33)

    You can edit the following plugin file to force the slider to recalculate height. In the file…

    /wp-google-places-review-slider/public/partials/wp-google-reviews-public-display.php

    Add this on line 212 right after the code that creates the slider.

    $('#wprev-slider-".$currentform[0]->id."').data('wprs_unslider').animate('last');setTimeout(function(){$('#wprev-slider-".$currentform[0]->id."').data('wprs_unslider').animate(0);
    }, 100);

    Here’s a screenshot

    • This reply was modified 4 years, 3 months ago by jgwhite33.
    • This reply was modified 4 years, 3 months ago by jgwhite33.
    Thread Starter chuchuju

    (@chuchuju)

    Hello and thank you for your reply.
    Unfortunatly, the code you gave didn’t work. (on line 422 for me). When I add it, it says “syntax error”. Or there is a mistake in the code, or the code is not the good one for this problem.

    Something else to try ?
    Thank you so much.

    Plugin Author jgwhite33

    (@jgwhite33)

    It shouldn’t be line 422. Are you sure you are talking about the Google version? The latest version already had this fix in it.

    Thread Starter chuchuju

    (@chuchuju)

    WP Google Review Slider Version : 7.0
    I don’t know what you mean by google version ?
    Do you think it could had a problem when updated ?

    /wp-google-places-review-slider/public/partials/wp-google-reviews-public-display.php

    I have this just before line 212 (line 208 to 211):

    $misc_style = $misc_style . ‘#wprev-slider-‘.$currentform[0]->id.’ .wprev_preview_bradius_T’.$currentform[0]->style.’ {border-radius: ‘.$template_misc_array[‘bradius’].’px;}’;

    if($template_misc_array[‘bgcolor1’]!=”){

    And this line 422 (line 399 to 421) :
    wprs_defer(function () {

    jQuery(document).ready(function($) {

    $(‘#wprev-slider-“.$currentform[0]->id.”‘).wprs_unslider(

    {

    autoplay:false,

    speed: ‘750’,

    animation: ‘horizontal’,

    arrows: true,

    animateHeight: true,

    activeClass: ‘wprs_unslider-active’,

    }

    );

    Plugin Author jgwhite33

    (@jgwhite33)

    I would try removing the plugin and re-add it. In version7.0 the wprs_defer function should look like this.

    Thread Starter chuchuju

    (@chuchuju)

    I’m so affraid to remove and re add the plugin because it was so difficult to install it, it took me few hours.
    I replaced the wp-google-reviews-public-display.php page by the one in version 7.0 (still, this is suppose to be this version already installed because I updated the plugin) but this changed nothing.

    Plugin Author jgwhite33

    (@jgwhite33)

    Try adding this CSS to the custom CSS for the review template you created.

    img.wprevpro_t1_star_img_file {
    height: 19px;
    }

    Thread Starter chuchuju

    (@chuchuju)

    It worked ! Thank you so much !

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘empty space under slide in posts’ is closed to new replies.