Removing the board statistics category and replacing footer content

Striker's Avatar
Striker · in Support
8 replies 236 views

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

0

Could you copy and paste what code you currently have?

0

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>

Last edited by Striker

0

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>

0

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

0

Add a display none to the classes like this:

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

0

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! :)

👍 1
0

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????



"Please remain seated. The captain has absolutely no idea what he’s doing."

0

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.

Theme: FS 2.0
Create Your Community with ForumSpark

ForumSpark is a modern community platform built on custom software. It combines the familiar feel of classic forums with a fast, simple experience designed for today’s communities.