Support » Plugin: Event Timeline - Vertical Timeline » Date not displaying correctly on Mobile

  • Resolved caf2019

    (@caf2019)


    When viewing the horizontal timeline (timeline 5, style 9) on mobile the active dates are aligned too far to the right and the information gets cutoff.

    So I see:
    ‘195’ instead of ‘1959’
    ‘Mar -‘ instead of ‘Mar – 07’

    I need the dates to be centered on all devices.

    Any info would be great!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author richteam

    (@richteam)

    Hi caf2019.

    Follow the instructions, please.

    Please find the Widget.php file in the plugin. There find this code

    jQuery(settings_<?php echo $rw_ti_id;?>.datesDiv_<?php echo $rw_ti_id;?>).width(widthDate_<?php echo $rw_ti_id;?>*howManyDates_<?php echo $rw_ti_id;?>).css(‘marginLeft’,widthContainer_<?php echo $rw_ti_id;?>/2-widthDate_<?php echo $rw_ti_id;?>/2);

    Please put your code in the place of this code.

    jQuery(settings_<?php echo $rw_ti_id;?>.datesDiv_<?php echo $rw_ti_id;?>).width(widthDate_<?php echo $rw_ti_id;?>*howManyDates_<?php echo $rw_ti_id;?>).css(‘marginLeft’,widthContainer_<?php echo $rw_ti_id;?>/2.5-widthDate_<?php echo $rw_ti_id;?>/2);

    Our team in the next version will add this function.

    Thank You.

    Thank you, works great!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date not displaying correctly on Mobile’ is closed to new replies.