My guess is you’ll need to override the contacts partial
So on your site, make a copy of the above file and put it in /layouts/partials/widgets/contact.html and make the changes you want. When your site is built, Hugo will use your version of the template rather than the theme.