I've come across an issue with my layout being broken for anonymous users. I have included a few screenshots, hopefully this might help someone see what's wrong.
The Problem
For anonymous users the layout of the content beneath the Author's Profile (related links, related You Tube videos) and the content in the right-sidebar (Ad blocks, recommended content, etc...) is all messed up (see screenshot 2).
When the user logs in, the layout problems go away (see screenshot 1). The related links, the related You Tube videos and the right-sidebar blocks all go to where they belong.
The frustrating thing is that this issue does not happen with every article. There are articles that layout correctly, even when the user is logged out (see screenshot 4). I'm trying to find the distinguishing factor that seems to cause the layout to break, but I can't seem to figure it out.
When I check the CSS with Firebug when I'm logged out, the problematic article page shows me that the "related-terms", "related-links" end up outside of the Center div (see screenshot 3). But, this is not the case when I'm logged in.
Anyone have a clue what's going on?
Thank you.
| Attachment | Size |
|---|---|
| Screen shot 1.png | 144.6 KB |
| Screen shot 2.png | 108.06 KB |
| Screen shot 3.png | 190.8 KB |
| Screen shot 4.png | 206.57 KB |
Comments
I don't see any screenshot.
I don't see any screenshot. Can you attach them, please. Thanks.
sTattler.com
They must've got lost when I previewed the post...
Thanks for the heads up.
I figured it out.
Turns out that Paging is messing up the layout for the anonymous user.
After going back and taking a careful look, the common denominator were pages with a pager at the bottom. When I turned off paging, it worked. When I tweaked it and turned off Ajax, it still worked, so i left it at that.
I also saw this issue come up in the issue queue for the paging module.
Hope this helps someone.
I appreciate this
I appreciate this follow-up.
What theme are you using? Just curious :)
sTattler.com
I've modified the OP theme
When I have time, I will need to go back and properly make it a sub-theme, but in the meantime, I'm just trying to get all the bugs worked out.
I'm almost done with this project, so hopefully, I'll be able to post a link to let all of you see it.
It's definitely been a learning process. : )