Title: View problem
Last modified: April 25, 2019

---

# View problem

 *  [akkarin0082](https://wordpress.org/support/users/akkarin0082/)
 * (@akkarin0082)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/view-problem-3/)
 * I also have a problem with the width of the timeline. the width is fixed at the
   moment with div class=”events” style=”width: 17220px;”> I already have the workaround
   in the css with width: 100%! important; but that seems to be ignored. I also 
   have the problem that I can press after the last entry even further to the right
   and the bar is not properly colored. Is there a solution for this? my used code
   befor </body>: `<script>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*160+’px’); } });</script
   >`
 * [https://1drv.ms/f/s!ArZsNBBIhcNfjTiiz3zjuleyNbBR](https://1drv.ms/f/s!ArZsNBBIhcNfjTiiz3zjuleyNbBR)

The topic ‘View problem’ is closed to new replies.

 * ![](https://ps.w.org/timeline-history/assets/icon-256x256.png?rev=1683403)
 * [Timeline History](https://wordpress.org/plugins/timeline-history/)
 * [Support Threads](https://wordpress.org/support/plugin/timeline-history/)
 * [Active Topics](https://wordpress.org/support/plugin/timeline-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/timeline-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/timeline-history/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [akkarin0082](https://wordpress.org/support/users/akkarin0082/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/view-problem-3/)
 * Status: not resolved