• Resolved webblast78

    (@webblast78)


    Hello I have 2 questions

    1) I have 3 timeline objects and would like to show them in one view with content, at this moment I can only show 1 item and then click to see the next. But I would really like to have like 3 items displayed at once.

    2) Is there a possibility to get a fixed width between items ?

Viewing 1 replies (of 1 total)
  • Plugin Author sehgal.sunny

    (@sehgalsunny)

    Hi @webblast78,

    Please use below code on your footer.php for show timeline on same distance:

    <script type=”application/javascript”>
    jQuery(document).ready(function($){
    var total_event = $(‘.cd-horizontal-timeline .timeline .events-wrapper .events ol li’).length;
    for(var i=1; i<= total_event; i++){
    $(‘.cd-horizontal-timeline .timeline .events-wrapper .events ol li:nth-child(‘+i+’) a’).css(‘left’,”+i*100+’px’);
    }
    });
    </script>

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple items in one view’ is closed to new replies.