slick icon indicating copy to clipboard operation
slick copied to clipboard

I want to fix thumbnails position (first on left align and second on right align)

Open Waseem-Jutt opened this issue 10 years ago • 2 comments

sliderview original slide

slider thumbnails not showing exact poistion that is want

My code for slider is

                <div class="row">
                    <div class="slider-for">
                        <div class="slide">
                            <div class="col-md-5 col-sm-5">
                                <img src="images/projects/project-image-1.jpg" alt="project-image-1" class="img-responsive" />
                            </div>
                            <div class="col-md-3 col-sm-3">
                                <img src="images/projects/project-image-2.jpg" alt="project-image-2" class="img-responsive" />
                            </div>
                            <div class="col-md-4 col-sm-4">
                                <img src="images/projects/project-image-3.jpg" alt="project-image-3" class="img-responsive" />
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <div class="project-description pad-top-49 pad-bottom-49">
                                    <h5 class="project-inner-heading mr-bottom-5">hellway pool villa</h5>
                                    <p>Ldque Caesaris facere voluntate liceret: sese habere. Mercedem aut nummos unde unde 
                                        extricat, amaras. Prima luce, cum quibus mons aliud consensu.</p>
                                </div>
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <img src="images/projects/project-image-4.jpg" alt="project-image-4" class="img-responsive" />
                            </div>
                        </div> <!-- --/slide project -->
                        <div class="slide">
                            <div class="col-md-5 col-sm-5">
                                <img src="images/projects/project-image-1.jpg" alt="project-image-1" class="img-responsive" />
                            </div>
                            <div class="col-md-3 col-sm-3">
                                <img src="images/projects/project-image-2.jpg" alt="project-image-2" class="img-responsive" />
                            </div>
                            <div class="col-md-4 col-sm-4">
                                <img src="images/projects/project-image-3.jpg" alt="project-image-3" class="img-responsive" />
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <div class="project-description pad-top-49 pad-bottom-49">
                                    <h5 class="project-inner-heading mr-bottom-5">hellway pool villa</h5>
                                    <p>Ldque Caesaris facere voluntate liceret: sese habere. Mercedem aut nummos unde unde 
                                        extricat, amaras. Prima luce, cum quibus mons aliud consensu.</p>
                                </div>
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <img src="images/projects/project-image-4.jpg" alt="project-image-4" class="img-responsive" />
                            </div>
                        </div> <!-- --/slide project -->
                        <div class="slide">
                            <div class="col-md-5 col-sm-5">
                                <img src="images/projects/project-image-1.jpg" alt="project-image-1" class="img-responsive" />
                            </div>
                            <div class="col-md-3 col-sm-3">
                                <img src="images/projects/project-image-2.jpg" alt="project-image-2" class="img-responsive" />
                            </div>
                            <div class="col-md-4 col-sm-4">
                                <img src="images/projects/project-image-3.jpg" alt="project-image-3" class="img-responsive" />
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <div class="project-description pad-top-49 pad-bottom-49">
                                    <h5 class="project-inner-heading mr-bottom-5">hellway pool villa</h5>
                                    <p>Ldque Caesaris facere voluntate liceret: sese habere. Mercedem aut nummos unde unde 
                                        extricat, amaras. Prima luce, cum quibus mons aliud consensu.</p>
                                </div>
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <img src="images/projects/project-image-4.jpg" alt="project-image-4" class="img-responsive" />
                            </div>
                        </div> <!-- --/slide project -->
                        <div class="slide">
                            <div class="col-md-5 col-sm-5">
                                <img src="images/projects/project-image-1.jpg" alt="project-image-1" class="img-responsive" />
                            </div>
                            <div class="col-md-3 col-sm-3">
                                <img src="images/projects/project-image-2.jpg" alt="project-image-2" class="img-responsive" />
                            </div>
                            <div class="col-md-4 col-sm-4">
                                <img src="images/projects/project-image-3.jpg" alt="project-image-3" class="img-responsive" />
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <div class="project-description pad-top-49 pad-bottom-49">
                                    <h5 class="project-inner-heading mr-bottom-5">hellway pool villa</h5>
                                    <p>Ldque Caesaris facere voluntate liceret: sese habere. Mercedem aut nummos unde unde 
                                        extricat, amaras. Prima luce, cum quibus mons aliud consensu.</p>
                                </div>
                            </div>
                            <div class="col-md-7 col-sm-7">
                                <img src="images/projects/project-image-4.jpg" alt="project-image-4" class="img-responsive" />
                            </div>
                        </div> <!-- --/slide project -->
                    </div>
                    <div class="col-md-12 col-sm-12 pad-top-50 slider-nav">
                        <span class="text-left previ-post post-link">
                            <a>
                                 spring greek project
                            </a>
                        </span> <!-- --/slide nav -->
                        <span class="text-right next-post post-link">
                            <a>
                                orchard hanry villa 
                            </a>
                        </span> <!-- --/slide nav -->
                        <span class="text-left previ-post post-link">
                            <a >
                                spring greek project
                            </a>
                        </span> <!-- --/slide nav -->
                        <span class="text-right next-post post-link">
                            <a >
                                orchard hanry villa
                            </a>
                        </span> <!-- --/slide nav -->
                    </div>
                </div>
$(document).ready(function() {
                        $('.slider-for').slick({
          slidesToShow: 1,
          slidesToScroll: 1,
          arrows: false,
          autoplay: true,
          pauseOnHover:true,
          autoplaySpeed: 8000,
          asNavFor: '.slider-nav'
        });
        $('.slider-nav').slick({
          slidesToScroll: 1,
          asNavFor: '.slider-for',
          dots: false,
          autoplay: true,
            fade: true,
          pauseOnHover:true,
          nextArrow: '<i class="fa fa-caret-right pad-left-8 pull-right"></i>',
          prevArrow: '<i class="fa fa-caret-left pad-right-8 pull-left"></i>',
          autoplaySpeed: 8000,
          variableWidth: true
        });
});

Waseem-Jutt avatar Jan 12 '16 06:01 Waseem-Jutt

No JSFiddle - closing

mcashley avatar Jan 14 '16 19:01 mcashley

okay I'm adding i will update post after add js fiddle

Waseem-Jutt avatar Jan 14 '16 19:01 Waseem-Jutt