MyBB Community Forums
prefix style - Printable Version

+- MyBB Community Forums (
+-- Forum: 1.8 Support (
+--- Forum: General Support (
+--- Thread: prefix style (/thread-225990.html)

prefix style - Mastersly - 2020-01-08

hello i am trying to style some of my prefix
i add this on AdminCP>>Templates & Style>>Themes>>My theme >>global.css>>Edit Stylesheet: Advanced Mode
.anonprefix {
height: 4px;
line-height: 4px;
vertical-align: middle;
display: inline-block;
padding: 5px;
font-size: 9px;
font-weight: bold;
color: white;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
background-repeat: repeat-x;
background-position: 0 -1px;
margin-bottom: 3PX;
and this to AdminCP >>Configuration>>Thread Prefixes>>my prefixe>>Display Style
<span class="anonprefix" style="color:white;background: #flatcolorhash;">Important</span>
but nothing change..
like i didnt have css

RE: prefix style - User 129272 - 2020-01-08

Are you sure all your file & folder permissions are correct? You can check with the Tools & Maintenance tab in your ACP.

RE: prefix style - [ExiTuS] - 2020-01-08

1. The class .anonprefix is missing in your current global.css

2. Your mentioned .anonprefix CSS code is really crap! Forget about it for the moment.
IMO first concentrate on basic CSS: background, color, padding, border, border-radius. Then specify.

3. When using classes (class="...") there is no need to set inline definitions (style="...") because this will override classes.