MyBB Community Forums

Full Version: prefix style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Are you sure all your file & folder permissions are correct? You can check with the Tools & Maintenance tab in your ACP.
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.