Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

How to center image in email automation

Topic Labels: Automations
Solved
Jump to Solution
3221 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Leslie_Burke
7 - App Architect
7 - App Architect

I need to center the logo image of my client in the body of an email. How do I do that?  (Don't worry - I'm not using an image in an attachment field. )

This is what I currently have, but the image is not actually centered. Can anyone help?

<div style="text-align: center;">

<img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg">

</div>

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, could you try removing the linebreaks so it looks like this? 

<div style="text-align: center;"><img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg"></div>

That appears to work when I test it

Screenshot 2023-02-01 at 3.06.16 PM.png

 

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hm, could you try removing the linebreaks so it looks like this? 

<div style="text-align: center;"><img width="400" src="https://static1.squarespace.com/static/myimageurl.jpg"></div>

That appears to work when I test it

Screenshot 2023-02-01 at 3.06.16 PM.png

 

Leslie_Burke
7 - App Architect
7 - App Architect

Thanks @TheTimeSavingCo! That worked like a charm. ðŸ˜Š