XF 2.1 How can I change the bookmark icon to something else?

gogo

Well-known member
1586759906452.webp

It's better not a template modification for upward compatibility concern. Thanks.
 
Put the code below in your extra.less template:

Code:
.bookmarkLink::before {content: "\f8f5";}

Cool. It works! Thanks!

Actually how do I get a list of names like this".bookmarkLink"?

Do I have to dig into the templates to find it out? Because sometimes I really want to change something myself but I have no idea what it is referred to in the code.

Thanks again!
 
Cool. It works! Thanks!

Actually how do I get a list of names like this".bookmarkLink"?

Do I have to dig into the templates to find it out? Because sometimes I really want to change something myself but I have no idea what it is referred to in the code.

Thanks again!
YW. Use your browser's developer console :D
 
Top Bottom