If you want to add a Trust badge to any places of your page, we have some steps you can follow along with.
Notice: You won't have to edit your theme file but using EcomSolid Editor only.
Use Image Addon
Step 1: From your editor, click on the Library button in the top bar to browse your Library.
Step 2: Goto Addons Tabs, then scroll down to choose "Image Addon"
Step 3: In left sidebar settings, click on the "Pick the position" button, then choose the place you want to show the image widget, and then upload your trust badges image.