• mrs_helga

    (@mrs_helga)


    My slider doesn’t show the last slide, only one from four. Some days ago everything was ok, what happened? I didn’t change anything!
    And the slider doesn’t scale on mobiles: the text of the slider is cut, the pictures are cut, the title is going out of the border.

    Is there any developers help here? What is the reason to publish a theme if you are not willing to help people solve their problems? I didn’t get a single proper or useful reply to all my questions on Modality support thread. I wish I choose another theme some months ago, but now it’s already a lot of time spent for editing php and css.

Viewing 10 replies - 1 through 10 (of 10 total)
  • WEN Solutions

    (@wen-solutions)

    Would you please provide the link of your site? If previous days was fine and now it arise occur, it means you updated the theme or WordPress?

    I will try my best to solve your issue as soon as possible.
    Thanks

    Thread Starter mrs_helga

    (@mrs_helga)

    this is my site
    i niether worked with the site nor updated the theme or WordPress + i didn’t install any plugins or snippets this week
    today i added one more slide to check if the problems is with the last slide or with a concrete post. so it was not the post, but the last position.
    The slider is not shown only on one screen resolution, the others are ok.
    I’ve tried to change the foto width but that didn’t help.
    i will be grearful if you can help me ??

    tara.mcgrath15

    (@taramcgrath15)

    Im also having this problem at the following wed address: https://dev6.workplaceanomalies.com.au/

    I have the same problem on my website: indianinsight.com, one of the images doesn’t load on chrome, but it works fine on IE.
    Can you suggest what needs to be done to get it fixed.

    Thanks a lot!

    Another one with the last slide not loading. Was fine when I just had two slides initially, but I added three more and now it only shows 4 of the 5, with the last being a big gray block. Any help would be much appreciated!!

    I am having this issue too. Do the developers respond here (or other members assist who are savvy coders?). I just installed this theme and love the way it looks in the demo, but recreating it has been a nightmare, especially with the Image Slider.

    No matter how many slides I set it to, it shows those slides and then it slides over to a grey blank spot, not showing the Featured Image from that Post.

    Am I setting up something wrong in the Theme Image Slider Settings?

    Thanks in advance!

    I actually accidentally fixed (??!!) my issue by installing a cache plugin. I cleared the site’s cache and it fixed it! I don’t know how, but I’m not going to question it because I’m beginning to think the theme is sentient and may yet turn on me again!

    Still can’t get the slideshow to be responsive, though! Hoping the author updates it as he told me he was planning to! ??

    I had a similar problem of Last slider image being displayed as gray block. This happens only for certain resolutions of a screen. Here is how I resolved it.
    The theme uses “unslider.js” script for the slider and there is a bug how it calculates the width of a parent elements and its children (image holder divs) that contain images. The MATH rounding function it uses, creates these image container div widths that add up to just 1 pixel larger that the total width of a slider (100% * number of slides) set initially and hence last image does not fit and displays who knows where. That’s the reason it creates problem only for certain resolutions. (calculation rounds up for only certain values.)
    Here is what I did:
    1. Created a “js” folder under child theme directory and replicated the unslider.js file from parent theme (file hierarchy needs to be maintained in child theme too.)

    2. Change the line of code below in unslider.js (approx. line 62 ) to adjust width of an element to fit into parent.
    el.css({width: _.max[0], height: li.first().outerHeight(), overflow: 'hidden'});
    TO
    el.css({width: _.max[0]-1, height: li.first().outerHeight(), overflow: 'hidden'});

    3. This slider image display problem persists every time you refresh the page without just closing it. Here is the fix. Change the below line of code in a same file above. Somewhere at line 121.
    li.css({ width: width + 'px' });
    TO
    li.css({ width: (width-1) + 'px' });
    that’s it. you fixed the slider.

    4. Now we want our theme to point to unslider.js file from child theme. You can do this by adding something like below code to the function.php file of your child theme.

    function unslider_script_fix()
    {
        //use same handle as parent theme to override the js.
        wp_enqueue_script( 'unslider', dirname( get_bloginfo('stylesheet_url') ) . '/js/unslider.js', array( 'jquery' ),'', true);
    
    }
    add_action( 'wp_enqueue_scripts', 'unslider_script_fix' );

    5. ensure using the same handle as parent theme to override the js. So once you hook child themes unslider.js to it, the parent theme does not initialize the same handle again and the theme ends up using your file.
    Now regardless of which browser you open the website in and use no matter what resolution, it should display the last image of a slider.

    Everytime I am uploading a slider it is getting over scaled. So looking bad. please someone help

    patil.pranali, thank a lot! Now it works great!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘doesn't show the last slide and doesn't scale on mobile’ is closed to new replies.