BBP_Topics_Admin::admin_head()
Add some general styling to the admin area
Description
Source
File: bp-forums/admin/topics.php
public function admin_head() {
if ( $this->bail() ) return;
?>
<style media="screen">
/*<![CDATA[*/
strong.label {
display: inline-block;
width: 60px;
}
.column-bbp_forum_topic_count,
.column-bbp_forum_reply_count,
.column-bbp_topic_reply_count,
.column-bbp_topic_voice_count {
width: 8% !important;
}
.column-author,
.column-bbp_reply_author,
.column-bbp_topic_author {
width: 10% !important;
}
.column-bbp_topic_forum,
.column-bbp_reply_forum,
.column-bbp_reply_topic {
width: 10% !important;
}
.column-bbp_forum_freshness,
.column-bbp_topic_freshness {
width: 10% !important;
}
.column-bbp_forum_created,
.column-bbp_topic_created,
.column-bbp_reply_created {
width: 15% !important;
}
.status-closed {
background-color: #eaeaea;
}
.status-spam {
background-color: #faeaea;
}
/*]]>*/
</style>
<?php
}
Changelog
| Version | Description |
|---|---|
| bbPress (r2464) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.