Login  Register

Re: Media Queries

Posted by GregChapman on Oct 16, 2016; 4:59pm
URL: https://support.nabble.com/Media-Queries-tp7597404p7597412.html

Harvey wrote
.topic-count-column{
display:none;
}
...when added to the Appearance > CSS ... removes the column header but not the full column.

Any ideas?
I've taken another look at the code behind this forum and It all comes back to me. It's a nightmare of nested tables, some of which I'd say were unnecessary, but the real issue is that, if you want to control entire columns, there's a big chunk of HTML code missing.

To control an entire column you need to have < colgroup> and < col> tags present in the code and they would need to be added through the NAML macros that generate the HTML code for the page

See:
http://www.w3schools.com/tags/tag_colgroup.asp
http://www.w3schools.com/tags/tag_col.asp

As it stands, the classes with, for your purpose, helpful sounding names  tend to operate on just a single cell (< td> tag) in the first row of the table.

class names like
.pin-column, .topics-column, .replies-column, .last-post-column and .views-column

would be better be named
.top-row-pin-cell
.top-row-topics-cell
.tow-row-replies-cell
.top-row-last-post-cell
.top-row.views-cell

In short, having looked again, I can confirm that what you are after will require NAML coding.
Like you, NAML is not my strong point and I am not confident to suggest what is required.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.