1. 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

Discussion in 'Styling and Customization Questions' started by Morgain, May 9, 2013.

  1. Morgain

    Morgain Well-Known Member

    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?
  2. Shelley

    Shelley Well-Known Member

    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.

    #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

    #forums .node_34 .nodeLastPost, #forums .node_34 .tinyIcon  {display: none;}
    Morgain likes this.
  3. Morgain

    Morgain Well-Known Member


    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
  4. Morgain

    Morgain Well-Known Member

    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.
  5. EQnoble

    EQnoble Well-Known Member

    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
    Morgain likes this.

Share This Page