<i class="fa fa-bar-chart fa-fixed-width" style="padding-right:3px;"></i>
What do you mean ? ThisWhat is the code to read a widget key/definition?
<xf:widget key="widget_key" />
?Why not use my code since it's an HTML widget ? It's easier than the method you're trying. ^^I tried this in my extra.less and it did not work:
[data-widget-id="about_us"] .block-minorHeader:before {<xf:macro template="uix_icons.less" name="content" arg-icon="user-multiple" />}
Is HTML code is valid in the title field of a HTML widget ? Where can we put your code exactly ?Why not use my code since it's an HTML widget ? It's easier than the method you're trying. ^^
Why not use my code since it's an HTML widget ? It's easier than the method you're trying. ^^
[data-widget-id="about_us"]
ID is a number
In your ACP got to Appearance > Widgets and check the ID for the widget you want to use (select the widget ans see in the address bar the ID)
This is my HTML widget :Is HTML code is valid in the title field of a HTML widget ? Where can we put your code exactly ?
<div class="block"{{ widget_data($widget) }}>
<div class="block-container">
<h3 class="block-minorHeader"><i class="fa fa-users fa-large fa-fixed-width" style="padding-right:3px;"></i>Groupes d'utilisateurs</h3>
<div class="block-body block-row">
<dl class="pairs pairs--justified">
<div class="username" style="text-align:center;">
<span class="username--style3">Fondateur</span>
<br><span class="username--style5">Administrateur</span>
<br><span class="username--style4">Modérateur</span>
<br><span class="username--style6">Assistant</span>
<br><span class="username--style9">Ancien Staff</span>
<br><span class="username--style12">Partenaire</span>
<br><span class="username--style11">Elite'X</span>
<br><span class="username--style7">Premium</span>
<br><span class="username--style8">Donateur</span>
<br><span class="username--style2">Membre</span>
</div>
</dl>
<h3 class="block-minorHeader">
and before Groupes d'utilisateurs
(my {$title}) ^^I was thinking about something like that, but i'm a beginner so...
CSS:[data-widget-id="77"] { .block-minorHeader:before { font-family: "FontAwesome"; content: "\f004"; margin-right: 5px; } }
HTML:[data-template="forum_list"] { .p-title-value {display: none;} .p-title {float: right;} }
with this
CSS:[data-widget-id="7"] { .block-minorHeader a:before { font-family: "FontAwesome"; content: "\f004"; margin-right: 5px; } }
I got this
View attachment 185926
Works with all the other widget, which code ?Doesn't work. My code should work. Works with all the other widgets. It's just I have always used a widget definition. I have never used a html widget as it doesn't have a definition like the others.
Tested on new_threads widget and works well. I am using the HTML widget....Works with all the other widget, which code ?
Okay, but the code to add the icons. Which one do you use with new_threads ?Tested on new_threads widget and works well. I am using the HTML widget....
We use essential cookies to make this site work, and optional cookies to enhance your experience.