Can you post or PM a link to your forum so I can check?
Is this a requirement or limitation of XenForo? Standard HTML element class attribute can have multiple space separated class names. I would actually prefer multiple class name approach as it will allow DRY (Dont Repeat Yourself) CSS. For example, if we have a set off prefixes that can be categorized in multiple ways. One categorization can be expressed using border color, other categorization using background color and third categorization using text color. In this case, rather than having CSS rules of all possible scenarios, we can just write CSS for individual atomic classes then mix and match the class names in custom thread prefix field.Your custom CSS class has a space? It should be one class name. No space.
For reference:
http://xenforo.com/community/threads/editing-prefixes.44222/#post-475266
.prefix
{
@property "titlePrefix";
background: transparent url('@imagePath/xenforo/gradients/form-button-white-25px.png') repeat-x top;
padding: 0px 6px;
margin: -1px 0;
border: 1px solid transparent;
border-radius: 4px;
display: inline-block;
@property "/titlePrefix";
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.