Back to feed

Removing the board statistics category and replacing footer content

Striker · 7 months ago · 8 replies · 393

I'm trying to remove the entire Board Statistics category, along with the skin selector, 'mark forum as read' link, and date/time. The only thing I want to have is the box I coded below all that, with the 'online now', online today', and 'recent activity' boxes.

My CSS had some padding elements in it that aren't working. I was trying to put some space between the two online boxes, instead of having them smushed together. I also tried to fit both columns into the same width as the forum above, but nothing I've tried has affected the width at all.

Link to my site: https://test_forum.forumspark.net

8 replies
Cedric · 7 months ago

Could you copy and paste what code you currently have?

Striker OP · 7 months ago

Cedric:

Could you copy and paste what code you currently have?

Sure thing.

<!DOCTYPE html>

<html>

<head>

<style>

* {

box-sizing: border-box;

}

.row {

display: flex;

}

.column {

flex: 50%;

padding: 10px;

height: 500px;

overflow: auto;

}

.online-now {

height: 200px;

padding: 5px;

}

.online-today {

height: 200px;

padding: 5px;

}

</style>

</head>

<body>

<div class="row">

<div class="column">

<div class="online-now">

<!-- USERSONLINE -->

</div>

<div class="online-today">

<!-- RECENTLYONLINE -->

</div>

</div>

<div class="column">

<!-- RECENTACTIVITY -->

</div>

</div>

</body>

</html>

Cedric · 7 months ago

CSS should not be inserted in the Board Templates. You would need to target the class and put the css in the custom css section. There is also no need for tags like <!DOCTYPE html> <html> <head>

Striker OP · 7 months ago

Okay, I believe I've got that straightened out! Thank you :) How do I remove the theme selector, 'mark forum as read', and date/time? @Cedric

Cedric · 7 months ago

Add a display none to the classes like this:

.board-actions__time,
.board-actions__mark-read,
.board-actions__theme-selector {
    display: none;
}

Striker OP · 7 months ago

Cedric:

Add a display none to the classes like this:

.board-actions__time,
.board-actions__mark-read,
.board-actions__theme-selector {
    display: none;
}

This worked perfectly, thanks! :)

Empire · 6 months ago

I like the new version more than the old LOL

Will there be an update to allow us to swap to and from without having to code to remove?? or update the old-style Board Statistics to the new stlye maybe????



Cedric · 6 months ago

empire:

I like the new version more than the old LOL

Will there be an update to allow us to swap to and from without having to code to remove?? or update the old-style Board Statistics to the new stlye maybe????

Yeah, I've temporarily added a widget to refresh the statistics and online user list. This will in time be improved and the older board statistics will be replaced. I don't think I'll be entirely removing the old style, but keep it as an option. Haven't really thought much about it yet.

Create a free account to join the conversation.
Sign up free
ForumSpark © 2023 - 2026 · ForumSpark.net · Terms