The variable name is the one you entered when you uploaded the SVG file.
You will need to be an Admin to do this.
- Go to
/adminon the forum. - In the sidebar, choose Components under the Customizations section and make a new one.
- Upload the SVG file under Uploads at the bottom of the component’s page.
- Choose a name for the variable (in the upload file modal)
- Use the code in my post:
- Replace
name-of-variablewith the name you chose in Step 4. Keep the$before the variable name. - You’re good to go!