Skip to content

Instantly share code, notes, and snippets.

@anandkumar
anandkumar / functions.php
Created October 8, 2014 17:54
bbPress: Remove stupid 14px avatar and resize other.
<?php
//* Do NOT include the opening php tag
//* Notice the line 7, 8, 10 and 11
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = '';
if ($size == 14) {
return $author_avatar;
}
.random-color {
border-top-color: "LightCoral";
border-right-color: #a44b58;
border-bottom-color: rgb(108, 188, 134);
border-left-color: rgb(24%, 88%, 5%);
outline-top-color: hsl(88, 69%, 69%);
outline-right-color: rgba(220, 71, 132, 0.69);
outline-bottom-color: rgba(79%, 47%, 14%, 0.37);
outline-left-color: hsla(111, 31%, 38%, 0.86);
}