• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Hide latest posts box on right - in selected node

Morgain

Well-known member
#1
I have a Category with a collection of subforums. Using the 2 column layout looks great but the Latest box on the right is distracting and no real use.

Can I EXTRA.css that one instance of the Latest box to hide it in THIS Category?
 

Shelley

Well-known member
#2
I have a Category with a collection of subforums. Using the 2 column layout looks great but the Latest box on the right is distracting and no real use.

Can I EXTRA.css that one instance of the Latest box to hide it in THIS Category?
Not sure I understood but I tried the following where 34 was the ID of the forums lastpost area I hid you would insert your own ID as yours will be different.

Code:
#forums .node_34 .nodeLastPost {display: none;}
It leaves the rss icon though but you could remove that by adding to the code I think

#forums .node_34 .tinyIcon << so it looks like the following

Code:
#forums .node_34 .nodeLastPost, #forums .node_34 .tinyIcon  {display: none;}
 

Morgain

Well-known member
#4
Actually just to be fussy can the columns be given a much narrower margin on left and right.
I'm worrying about folks with narrower screens.
 

EQnoble

Well-known member
#5
Magic!

I'm curious thought - not seen a hash before in the .css you give us Shelley.
EXTRA.css stuff usually starts with a dot. Hash at #forums

If you have an element:

<div class="morgain">​
it is designated .morgain in css​

If you have an element:

<div id="morgain">​
it is designated #morgain in css​

in css a '. ' equals class and a '#' equals id