missing closing DIV tag on category blog layout

  • DirtyHoar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #20801 by DirtyHoar
Hello, I've ran into an issue with a missing closing DIV tag when trying to display more than 4 articles in a category blog type menu item. This is a site I'm migrating from 1.5 to 2.5. I can duplicate this problem throughout the site with different articles and menu items.

Because of the missing div tag the div content_gradient and everything within it collapses. The content still shows up where it should but the background is gone leaving only my body background image.

I've spent a few hours trying to get to the bottom of this. I've check my html in the category and every single article to be displayed and that's not the problem. The strange thing is it works fine until I add the 5th article to be displayed. I have 16 articles set to show in 1 column. If you notice in the html the articles are nesting within each other. I would think that they're not supposed to be nesting like that.

Will you please take a look at this? It's a Joomla 2.5.6 site using your Hot Architecture 2.5 template. *url removed*

Thanks!
Shawn
Last edit: 12 years 4 months ago by DirtyHoar.

Please Log in to join the conversation.

More
12 years 4 months ago #20813 by ivan.milic
just replace all div tags in your articles with something else

Please Log in to join the conversation.

  • DirtyHoar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 4 months ago - 12 years 4 months ago #20838 by DirtyHoar
Why would I replace all my div tags in my articles? Are you saying your template doesn't allow div tags in articles? I need my div tags. Of course your template allows div tags in articles. I don't understand why you would say that.

From what I can tell, It's a missing </div> from within the template structure. Of course, I could be wrong, but I've triple checked and the missing </div> isn't coming from my articles. Plus the articles work fine in your joomla 1.5 version of the template.

Any ideas?

Thanks,
Shawn
Last edit: 12 years 4 months ago by DirtyHoar.

Please Log in to join the conversation.

More
12 years 4 months ago #20863 by ivan.milic
It looks like layout is broken because unclosed div tag. If you waht to use div tags make sure more macro is not wrapped with any or them like:

<div>
djh fjdfhjdhfjh jhfjdh jfhjdhfjhdf
<!--more-->
fvndsb d avfbvadnb vfnbavdbvbavd
</div>

make that:


<div>
djh fjdfhjdhfjh jhfjdh jfhjdhfjhdf
</div>
<!--more-->
<div>
fvndsb d avfbvadnb vfnbavdbvbavd
</div>

Please Log in to join the conversation.

  • DirtyHoar
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 4 months ago #20888 by DirtyHoar
Ah, yes. I see what was happening now. Thank you!

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum