.suggestion {
background-color: #1381BE;
border: 1px solid #278EDF !important;
border-radius: 3px !important;
box-shadow: 0 0 1px #F9F9F9 inset;
color: #FFFFFF;
display: inline-block;
font-size: 12px;
font-weight: bold;
line-height: 18px;
padding: 0 4px;
vertical-align: middle;
}
.suggestion:before
{
content: "\f0eb";
font-family: FontAwesome;
margin-right: 5px;
font-weight: normal;
font-size: 110%;
}
View attachment 73911
Code:.suggestion { background-color: #1381BE; border: 1px solid #278EDF !important; border-radius: 3px !important; box-shadow: 0 0 1px #F9F9F9 inset; color: #FFFFFF; display: inline-block; font-size: 12px; font-weight: bold; line-height: 18px; padding: 0 4px; vertical-align: middle; }
With Font Awesome icon before title.
Code:.suggestion:before { content: "\f0eb"; font-family: FontAwesome; margin-right: 5px; font-weight: normal; font-size: 110%; }
where would i add this code?I'm not sure if there is a website, a database or whatever for prefixes, I couldn't find one. So I hope you don't mind if I borrow this for my board.
One question though, how can I apply Font Awesome icons without havin Xenbase?
where do we add this
where would i add this code?
hmm, yes i did that. where would I add a css class?Look at the post above yours.
Templates -> page_container
Simply you create a prefix in your admin control panel.hmm, yes i did that. where would I add a css class?
.prefix1 {
...
}
.kankan {
background-color: #1381BE;
border: 1px solid #278EDF !important;
border-radius: 3px !important;
box-shadow: 0 0 1px #F9F9F9 inset;
color: #FFFFFF;
display: inline-block;
font-size: 12px;
font-weight: bold;
line-height: 18px;
padding: 0 4px;
vertical-align: middle;
}
hi @sbj :
I've done in that way to replace existing prefix, but no prefix design appears :
Extra.css :
Prefix page :
View attachment 101039
Rendering :
View attachment 101041
Any idea?
Thanks
Hmm, I don't know what the problem is. It should work. Sorry.Hi sbj, thanks for help.
What you are seeing is not prefix but "new message" alert
Prefix is here : 'En cours'
as you see, it is not designed.
What the hell... Can you explain how you knew that and what was the problem here? Wow.Does it work if you move that block of code to the very top of the EXTRA.css template?
We use essential cookies to make this site work, and optional cookies to enhance your experience.