beerForo Well-known member Jul 1, 2019 #1 I have found in the template where it calls for the icon (icon=___). But changing it's name to a fa name does not work, how exactly do we do this? Thanks!
I have found in the template where it calls for the icon (icon=___). But changing it's name to a fa name does not work, how exactly do we do this? Thanks!
frm Well-known member Jul 1, 2019 #2 For the "button" tag: Template syntax | Developer Documentation | XenForo Developer documentation for XenForo xenforo.com Upvote 0 Downvote
For the "button" tag: Template syntax | Developer Documentation | XenForo Developer documentation for XenForo xenforo.com
beerForo Well-known member Jul 1, 2019 #3 "By default, XenForo buttons support the following icons (created with CSS):" If the icon is not lon the supported list, can we not use it? Trying to use: comment-lines Thanks! Upvote 0 Downvote
"By default, XenForo buttons support the following icons (created with CSS):" If the icon is not lon the supported list, can we not use it? Trying to use: comment-lines Thanks!
frm Well-known member Jul 1, 2019 #4 I would try to add the below CSS to the template core_button.less on line 178 (or above "add"): CSS: &--commentlines { .m-buttonIcon(@fa-var-comment-lines, .79em); } Then play around with icon="commentlines" If it appears and the sizing is not to the liking, revisit core_button.less and change the .79em to another size. Upvote 0 Downvote
I would try to add the below CSS to the template core_button.less on line 178 (or above "add"): CSS: &--commentlines { .m-buttonIcon(@fa-var-comment-lines, .79em); } Then play around with icon="commentlines" If it appears and the sizing is not to the liking, revisit core_button.less and change the .79em to another size.
frm Well-known member Jul 1, 2019 #6 beerForo said: Got it thanks! Click to expand... I'd be interested in knowing if it works because that was all guesswork. Upvote 0 Downvote
beerForo said: Got it thanks! Click to expand... I'd be interested in knowing if it works because that was all guesswork.