samedi 13 février 2021

Adding Background Image to Email Template in Laravel

I am trying to add background image to an email template

I don't want to use table

What I have tried till now is ,Inside style

background: url(/images/emails/template/layer_1.png);

Also I tried adding url directly

background: url(http:://my.test/images/emails/template/layer_1.png);

By passing URL value in variable

background: url({!! $logo !!})

Please advice , How can I make this work, I am using Laravel

I checked image is displayed on browser using url



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire