Removing the sidebar on comment pages - SOLVED

Jun 23, 2007 01:50

I have a paid account with custom comment pages enabled, but I find that the text on my sidebar covers up some of the larger pictures in my entries. Is there any way to disable the sidebar ONLY on the comment pages? Or, barring that, can anyone offer any other suggestions to keep the sidebar from covering up my pictures? I don't post large pictures ( Read more... )

pageviews:entry, sidebar:placement

Leave a comment

Comments 15

ephi June 23 2007, 11:55:43 UTC
if you don't mind the image to be clipped, here's a solution, add this to your css, if that doesn't work, please point to a certain entry with the said problem.

div.asset-body
{
overflow: hidden;
}

Reply


branchandroot June 23 2007, 16:07:54 UTC
If getting rid of the sidebar is what you really want, you could try:

body.lj-view-entry #beta, body.lj-view-reply #beta { display: none; }

Reply


av8rmike June 23 2007, 16:17:09 UTC
_branch_ is close, but it doesn't expand the #alpha column to full width:
.lj-view-entry #beta {display: none;}
.lj-view-entry #alpha {width: 100%;}
.lj-view-entry #alpha-inner {width: 900px;}

Reply

diziara June 23 2007, 17:18:15 UTC
...and how would that have to be changed if used with three columns instead of two?

Reply

av8rmike June 23 2007, 17:47:32 UTC
I should have known someone was going to chime in asking about 3 columns. ;)
.lj-view-entry #beta, .lj-view-entry #gamma {display: none;}
.lj-view-entry #alpha {width: 100%; left: 0px;}
.lj-view-entry #alpha-inner {width: 900px;}

Reply

diziara June 23 2007, 18:07:10 UTC
Three columns are clearly superior to two, as you can get more of the important information up towards the top of the page and visible without having to scroll down. ^_^

So, if I want to be super difficult and only hide one of the two sidebars, but leave the other visible and expand the main column, how would I change the #alpha and #alpha-inner style?

I'm not sure which would work better, just banishing both sidebars when on the comment page, or reducing two sidebars to one while making sure all the important sidebar information is in the bar I leave visible, but the RPG group I have sometimes comments a lot, and with the way comments indent, quickly we end up at the edge of the page and overlapping onto the background areas that aren't text friendly. I had to reduce to the single column full time to make it less problematic. When I get started on the LCARS style, I'll have to see what I can do to make use of this useful information. :)

Reply


duseg October 20 2007, 03:05:54 UTC
worked for me too! thank you!

Reply


Leave a comment

Up