I've given my forum icons a new look, and it's been going really well so far.
But now there is one icon that I would like to change, but I can't.
Probably because it uses FontAwesome 5. And if I understood correctly this is not compatible within phpBB.
However, this should work for me. Is there a way to get this working though?
My edits:
Code: Select all
/* ------- Forum & Topic Icons (Pulsing) ------- */
dl.row-item {
background-image: none;
}
.forums .row-item:before, .topics .row-item:before, .pmlist .row-item:before, .cplist .row-item:before {
font-family: FontAwesome;
text-align: center;
position: absolute;
top: 50%;
left: 0;
margin-top: -15px;
margin-left: 9px;
width: 32px;
height: 32px;
line-height: 32px;
border-radius: 50%;
background: rgba(0, 89, 179);
color: #FFF;
font-size: 16px;
}
/* Adjustments for weirdly sized icons */
/* Nudge the speech bubble up a few pixels */
.topic_read:before, .topic_read_mine:before, .topic_read_hot:before, .topic_read_hot_mine:before, .topic_unread:before, .topic_unread_mine:before, .topic_unread_hot:before, .topic_unread_hot_mine:before {
line-height: 28px !important;
}
/* External link left and down */
.forum_link:before {
line-height: 0 !important;
width: 30px !important;
height: 15px !important;
padding: 16px 0 1px 2px;
}
/* Set the icons */ /* Megaphone */
.global_read:before {content: "\f0a1";}
.global_read_mine:before {content: "\f0a1";}
.global_read_locked:before {content: "\f0a1";}
.global_read_locked_mine:before {content: "\f0a1";}
.global_unread:before {content: "\f0a1";}
.global_unread_mine:before {content: "\f0a1";}
.global_unread_locked:before {content: "\f0a1";}
.global_unread_locked_mine:before {content: "\f0a1";}
/* Megaphone */
.announce_read:before {content: "\f0a1";}
.announce_read_mine:before {content: "\f0a1";}
.announce_read_locked:before {content: "\f0a1";}
.announce_read_locked_mine:before {content: "\f0a1";}
.announce_unread:before {content: "\f0a1";}
.announce_unread_mine:before {content: "\f0a1";}
.announce_unread_locked:before {content: "\f0a1";}
.announce_unread_locked_mine:before {content: "\f0a1";}
/* External link */
.forum_link:before {content: "\f08e";}
/* Speech Bubble */
.forum_read:before {content: "\f03a";}
.forum_read_subforum:before {content: "\f03a";}
.forum_unread:before {content: "\f03a";}
.forum_unread_subforum:before {content: "\f03a";}
/* Pin */
.sticky_read:before {content: "\f08d";}
.sticky_read_mine:before {content: "\f08d";}
.sticky_read_locked:before {content: "\f08d";}
.sticky_read_locked_mine:before {content: "\f08d";}
.sticky_unread:before {content: "\f08d";}
.sticky_unread_mine:before {content: "\f08d";}
.sticky_unread_locked:before {content: "\f08d";}
.sticky_unread_locked_mine:before {content: "\f08d";}
/* Right arrow */
.topic_moved:before {content: "\f061";}
/* Envelope */
.pm_read:before {content: "\f2b6";}
.pm_unread:before {content: "\f0e0";}
/* Speech Bubble */
.topic_read:before {content: "\f075";}
.topic_read_mine:before {content: "\f075";}
.topic_read_hot:before {content: "\f075";}
.topic_read_hot_mine:before {content: "\f075";}
.topic_unread:before {content: "\f075";}
.topic_unread_mine:before {content: "\f075";}
.topic_unread_hot:before {content: "\f075";}
.topic_unread_hot_mine:before {content: "\f075";}
/* Padlock */
.forum_read_locked:before {content: "\f023";}
.forum_unread_locked:before {content: "\f023";}
.topic_read_locked:before {content: "\f023";}
.topic_read_locked_mine:before {content: "\f023";}
.topic_unread_locked:before {content: "\f023";}
.topic_unread_locked_mine:before {content: "\f023";}
/* Unread States */
.global_unread:before, .global_unread_mine:before, .global_unread_locked:before, .global_unread_locked_mine:before, .announce_unread:before, .announce_unread_mine:before, .announce_unread_locked:before, .announce_unread_locked_mine:before, .forum_unread:before, .forum_unread_locked:before, .forum_unread_subforum:before, .sticky_unread:before, .sticky_unread_mine:before, .sticky_unread_locked:before, .sticky_unread_locked_mine:before, .pm_unread:before, .topic_unread:before, .topic_unread_mine:before, .topic_unread_hot:before, .topic_unread_hot_mine:before, .topic_unread_locked:before, .topic_unread_locked_mine:before {
animation: UnreadPulse 1.4s infinite;
color: #FFF;
}
.global_unread:before, .global_unread_mine:before, .global_unread_locked:before, .global_unread_locked_mine:before, .announce_unread:before, .announce_unread_mine:before, .announce_unread_locked:before, .announce_unread_locked_mine:before, .forum_unread:before, .forum_unread_locked:before, .forum_unread_subforum:before, .sticky_unread:before, .sticky_unread_mine:before, .sticky_unread_locked:before, .sticky_unread_locked_mine:before, .pm_unread:before, .topic_unread:before, .topic_unread_mine:before, .topic_unread_hot:before, .topic_unread_hot_mine:before, .topic_unread_locked:before, .topic_unread_locked_mine:before {
background-color: #d41142 !important;
}
What it should be:
Code: Select all
/* Speech Bubble */
.forum_read:before {content: "\f496";}
.forum_read_subforum:before {content: "\f496";}
.forum_unread:before {content: "\f496";}
.forum_unread_subforum:before {content: "\f496";}
{content: "\f496";}
= FontAwesome 5 The icon isn't available in FontAwesome 4, so somehow I'll have to get it to work anyway.