How to change 'widget icon' to custom fontawesome ?

  • Welcome to Babiato Forum! All Resources are 100% clean and Safe to Use

mei2020

Active member
Nov 23, 2020
181
30
28
Hi guys,
Some time ago I was looking for a way to change the widget icon in xenforo ...
1608662024331.png
I found several related articles on google but none of them worked for me o_O

I've been read the
docummentation but there's nothing explain how to change it in detail 🙂
Can someone explain this sample for me? I don't get it 😅

CSS:
/* For use in LESS: */
.someIcon {   /* ??? is this '.someicon an example or ready to use?  */     
   <xf:macro                
        template="uix_icons.less"   /* ??? what the relation with uix_icon.less?  */               
        name="content"   /* ??? where to find the name? is it leave tobe default (content)?   */
        arg-icon="account"    /* ??? where to find the 'arg-icon id?   */
     />        
}


Another experiment to change 'Countdown widget icon' (not worked):
CSS:
/* Countdown Widget - put in [I]extra.less[/I] */
[data-widget-key="countdown_me"] h3.block-minorHeader:before {
    display: inline-block;
    padding-right: 0px;
    .m-faBase();
    .m-faContent(@fas fa-hourglass-start fa-spin);
}

Another experiment to change 'Share Page widget icon' (not worked):
CSS:
/* Share Page Widget - put in [I]extra.less[/I] */
[data-widget-key="forum_overview_share_page"] h3.block-minorHeader:before {
    display: inline-block;
    padding-right: 0px;
    .m-faBase();
    .m-faContent(/f1e0 /10f1e0);
}

Did i miss something?
Summon @Tomz , @ALiveVam , @TassieNZ , @ELLIO7 , @hexor, @medw1311
 
Last edited:

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
78,069
112,321
120
Hi guys,
Some time ago I was looking for a way to change the widget icon in xenforo ...
1608662024331.png
I found several related articles on google but none of them worked for me o_O

I've been read the
docummentation but there's nothing explain how to change it in detail 🙂
Can someone explain this sample for me? I don't get it 😅

CSS:
/* For use in LESS: */
.someIcon {   /* ??? is this '.someicon an example or ready to use?  */     
   <xf:macro                
        template="uix_icons.less"   /* ??? what the relation with uix_icon.less?  */               
        name="content"   /* ??? where to find the name? is it leave tobe default (content)?   */
        arg-icon="account"    /* ??? where to find the 'arg-icon id?   */
     />        
}


Another experiment to change 'Countdown widget icon' (not worked):
CSS:
/* Countdown Widget - put in [I]extra.less[/I] */
[data-widget-key="countdown_me"] h3.block-minorHeader:before {
    display: inline-block;
    padding-right: 0px;
    .m-faBase();
    .m-faContent(@fas fa-hourglass-start fa-spin);
}

Another experiment to change 'Share Page widget icon' (not worked):
CSS:
/* Share Page Widget - put in [I]extra.less[/I] */
[data-widget-key="forum_overview_share_page"] h3.block-minorHeader:before {
    display: inline-block;
    padding-right: 0px;
    .m-faBase();
    .m-faContent(/f1e0 /10f1e0);
}

Did i miss something?
Summon @Tomz , @ALiveVam , @TassieNZ , @ELLIO7 , @hexor
read here
 
  • Like
Reactions: mei2020

mei2020

Active member
Nov 23, 2020
181
30
28
read here
...
I guess this one will be success for changing 'Share Page Widget Icon' because defaultly its css/ html have 'iconic feature', but not with 'Countdown Widget Icon' the css/ html is different from Xenforo default widgets...

Is there another tips/ tricks to modify the 'Countdown widget icon'?
 
Last edited:
D

DJJigsaw

Guest
Are you using pro or free? I have the pro version available if you would like it
 

About us

  • Babiato Forum - The webmaster community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day, updating Daily resource to make sure our community is one of the best.

Quick Navigation

User Menu