What's new
  • The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked! For more information about rules, limits, and more, visit the Help page.
    Found a dead link? Use the report button!

QUESTION password icon design

no i try but the lordiocn json code is not working for me and i confuse to where should i write the code in which file to shown up this.
 
INDTECH 's signature
Reacted by:
View attachment 51832

can Any one know how to make design ok this password lock icon on xenforo.
@raz0r can you give some tip how to do.
Create Resource field first.

Then put in xfrm_resource_wrapper_macros code:
Code:
                                <xf:if is="$resource.custom_fields.fieldID">
                                    <script src="https://cdn.lordicon.com/lordicon.js"></script>
                                    <lord-icon
                                        src="https://cdn.lordicon.com/maltvyiw.json"
                                        trigger="hover"
                                        delay="1600"
                                        stroke="bold"
                                        colors="primary:#383b3d,secondary:#ee6d66"
                                        style="width:38px;height:38px"
                                        data-xf-init="tooltip"
                                        title="This file is password-protected. Read the Overview or Updates tab for more information before downloading.">
                                    </lord-icon>
                                </xf:if>

where fieldID - your XFRM Field ID.

That's all.
 
raz0r 's signature
Reacted by:
Top