• Hi Simon,

    I need a small help with CSS for the Slider used on this page http://kamatharjun.com/photos-stories-avani-test/

    Since there are many slides, I want to limit the number of pagination dots to 5 or 6(Something that Instagram follows for too many pictures for a post). Too many dots as per slides are not looking good for mobile. Thanks much in advance for helping me and for developing such an amazing plugin:)

    Regards,
    Mohammed F

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Hi, with Slide Anything you have 2 options when it comes to the pagination ‘dots’:
    – a single dot per page of slides (e.g. if you are displaying 3 slides at a time, then each dot represents 3 slides)
    – a single dot per slide – this can be enabled by ticking the ‘Show 1 Dot Per Slide’ checkbox in the right-hand sidebar.

    Thread Starter mohammed2125

    (@mohammed2125)

    Hi Simon,

    I have already used that option but there is no change in the pagination dots. Can you please check the link that I have shared? Is there any other way to limit pagination dots through CSS? This may look naive but thanks much in advance…

    Regards,
    Mohammed F

    Plugin Author simonpedge

    (@simonpedge)

    Hi Mohammed, the only thing you can do is modify some PHP code in one of the plugin’s files:
    /wp-content/plugins/slide-anything/php/slide-anything-frontend.php

    So replace lines 766 to 768 – these lines:

    if ($slide_data['dot_per_slide'] == '1') {
    	$output .= "			dotsEach : 1,\n";
    }

    With the following line:
    $output .= " dotsEach : 5,\n";
    (instead of ‘5’, use whatever number you want here)

    The only problem with doing this is that whenever you update Slide Anything to a newer version, this change will be lost – so you will need to make this change again after you upgrade.

    Thread Starter mohammed2125

    (@mohammed2125)

    Hi Simon,

    Thank you so much for constantly helping and replying. The above solution skips slides by 5. I don’t want to skip slides instead I just want to display 4 dots(for all slides together) and the slides should transit by 1. I have disabled pagination dots as of now.

    Thanks

    Regards
    Mohammed F

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Pagination Dots’ is closed to new replies.