XF 2.2 Need a tiny bit of css help

MapleOne

Well-known member
Code:
/* Hide Online Row */
div.block-row.block-row--minor {
  display: none;
}

I have a few mods installed and on one of them on the MAIN INDEX FORUM PAGE is where I am using the css above to hide one of the online rows.

The problem is that "div.block-row.block-row--minor" is used in some of my other mods on other pages.


So I would like the css above to only hide that row on the main Forum Node list but leave it alone on other views.

I'm not quite sure how to write that exception

Can anyone help me with this?
 
Last edited:

MapleOne

Well-known member
Less:
/* Hide Online Row */
[data-template="forum_list]
{
    div.block-row.block-row--minor {
      display: none;
    }
}

Marvelous, worked like a charm, I just had to make a tiny correction.

[data-template="forum_list"]

A typo but easily rectified


Thanks for the help Brogan (y)
 
Top