[data-template="thread_view_type_suggestion"] in the extra.less template, for example:[data-template="thread_view_type_suggestion"]
{
.contentVote-vote--up:before
{
content: "\f164";
}
.contentVote-vote--down:before
{
content: "\f165";
}
}
[data-template="thread_view_type_suggestion"] in the extra.less template, for example:[data-template="thread_view_type_suggestion"]
{
.contentVote-vote--up:before
{
content: "\f164";
}
.contentVote-vote--down:before
{
content: "\f165";
}
}
It is possible we can define the style of the fontawesome icon? In other words I want to use the solid version but it seems to be inheriting the regular since they are the same unicode. Can we use the class?You can target the icons for those thread types using[data-template="thread_view_type_suggestion"]in theextra.lesstemplate, for example:
Less:[data-template="thread_view_type_suggestion"] { .contentVote-vote--up:before { content: "\f164"; } .contentVote-vote--down:before { content: "\f165"; } }
fa-duotone-900.woff2 (178kb) font to your site (in the font_awesome_setup template). Then you'd need something like (untested):.contentVote-vote--up
{
.m-faBase('Duotone', 900);
.m-faBefore(@fa-var-trophy);
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.