JoyFreak Well-known member Oct 21, 2018 #1 Say I wanted to add a fontawesome icon in the header of a html widget, how do I do this? What is the code to read a widget key/definition?
Say I wanted to add a fontawesome icon in the header of a html widget, how do I do this? What is the code to read a widget key/definition?
SyTry Well-known member Oct 21, 2018 #21 JoyFreak said: .block[data-widget-id="77"] .block-minorHeader:before {<xf:macro template="uix_icons.less" name="content" arg-icon="search-plus" />} Change ID to whatever the ID you want to use to try it with UI.x template. Click to expand... Now I can't try, so I can't help you anymore right now. When I get home if you didn't have the solution, I'll do what I can to help you. EDIT : nice ! Upvote 0 Downvote
JoyFreak said: .block[data-widget-id="77"] .block-minorHeader:before {<xf:macro template="uix_icons.less" name="content" arg-icon="search-plus" />} Change ID to whatever the ID you want to use to try it with UI.x template. Click to expand... Now I can't try, so I can't help you anymore right now. When I get home if you didn't have the solution, I'll do what I can to help you. EDIT : nice !
JoyFreak Well-known member Oct 21, 2018 #22 SyTry said: Now I can't try, so I can't help you anymore right now. When I get home if you didn't have the solution, I'll do what I can to help you. EDIT : nice ! Click to expand... Very kind of you really. I appreciate the fact you've both taken the time to reply and consistently help. Cheers guys! Upvote 0 Downvote
SyTry said: Now I can't try, so I can't help you anymore right now. When I get home if you didn't have the solution, I'll do what I can to help you. EDIT : nice ! Click to expand... Very kind of you really. I appreciate the fact you've both taken the time to reply and consistently help. Cheers guys!
N Nicolas FR Well-known member Oct 21, 2018 #23 JoyFreak said: Okay, i worked it out. I had to click on advanced mode and create the template manually to add the block etc. Thanks for your help anyway guys! Click to expand... So easy... Upvote 0 Downvote
JoyFreak said: Okay, i worked it out. I had to click on advanced mode and create the template manually to add the block etc. Thanks for your help anyway guys! Click to expand... So easy...