• Resolved Hjsurk

    (@hjsurk)


    Hello,

    I can’t get the plug-in to work. My layout puts all the dates really far apart. I’m using Visual Composer to set-up my pages.

    You can see the problem on the bottom of the page. The next date is 241200px away.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • ktbrothers

    (@ktbrothers)

    Thanks @hjsurk to report the problem. Users face such issue due to use of some of date difference too long. For Ex. year range 1979, 1990, 1999, 2000. So please limit this difference between two dates.
    you can try with below code

    <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>

    We are working on this point with strong solution as this issue is genuine with most js timeline.

    Thread Starter Hjsurk

    (@hjsurk)

    Hello Komalchand (@ktbrothers),

    Sadly the code didn’t work to solve the issue. I can’t make the date difference any shorter since these are historic events within the company.

    Could you check the page if the code does anything?

    ktbrothers

    (@ktbrothers)

    Hi @hjsurk, Just place above code in the footer as We have tested this code with your site. Cheers..

    Thread Starter Hjsurk

    (@hjsurk)

    Thanks, moving to code from the header to the footer solved the issue. I can scroll past the dates now, but I guess it is a temporary solution?

    Plugin Author sehgal.sunny

    (@sehgalsunny)

    Hi @hjsurk

    Yes, Its a temporary solution and will back with the next version to resolve this.

    Will this code work fon my site? And in which file do i add this code

    Hi,
    I’m having the same issue but I’m on a multisite as a regular user and don’t have access to the theme files. When will the update and fix happen?
    I’ll have to look for a different plugin if this doesn’t work within the next week or two.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dates really far apart’ is closed to new replies.