While editing a timeline views view, the timeline preview in Views module looks like expected. In contrast, visiting the final page holding the timeline view, the awaited "dots" are missing and the node teasers are not aligned like shown in the preview.
Looking at the source code of the html page, I see that the CSS class assignment in the main div is:
<div class="item-list simple_timeline">
In the preview the class assignment is (hyphen instead of underscore):
<div class="item-list simple-timeline">
Is this is causing the issue? If so, is it because my admin theme differs from my default frontpage theme?
Comments
Comment #1
smurfxx commentedComment #2
smurfxx commentedComment #3
smurfxx commentedI changed theme to Bartik and it works, I will fix the css (but I thought it was indipendent from the theme choosen...)
Comment #4
alansaviolobo commentedI believe you saw the css class "simple_timeline" as a result of some caching.
can you confirm that it still happens on the original theme?
what is your original theme?
Comment #5
smurfxx commentedThe original theme is "Multipurpose Theme", I tried to empty the cache but the view is not good again.
I'd like to give you the url of the site but it's on a local machine
Comment #6
jos_s commentedI am seeing the same problem. Preview looks good, but final page is not. When I compare the HTML from the two, I see that the preview has an unordered list (
<li>'s enclosed with<ul>), which is missing from the final page. The<ul>and a<div>around it contain the class "simple_timeline" which is not present in the final page. My theme is based on "Responsive Blog".Comment #7
jos_s commentedI found out what my problem was. I forgot that I had overridden my
views-view-list.tpl.phptemplate. That replace the<ul>with something else. Now I know how to solve it.Comment #8
dqdComment #9
dqdComment #10
alansaviolobo commentedThe issue could be that your theme is adding an additional padding which causes the time line to break.
can you please upload screenshots ?
Comment #11
smustgrave commentedWith D7 EOL closing out old D7 issues. If still an issue on the new 2.0.x branch please re-open