A user is customizing Shopify’s “Shipping Update” email template and wants to display three buttons in a single row with consistent styling.
Current Issues:
Buttons don’t maintain equal width regardless of text length
White borders appear around buttons that don’t match default Shopify email button styling
When attempting to style borders, all three buttons get bordered together instead of individually
No spacing exists between buttons
Attempted Solution:
Another user provided HTML/CSS code using a table structure with:
width: 33.33% for equal button sizing
margin: 5px for spacing
Custom border and background color styling
However, the original poster reported this solution did not work and shared their complete email template code for further troubleshooting. The discussion remains unresolved with no working solution yet provided.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
I want to style the “Shipping Update” mail from Shopify but can´t get it to work like I want.
The goal is to get 3 buttons in one line, like i did with the code below.
How can I make sure that the buttons are always the same size, regardless of the text inside.
Also, the buttons with the white border does not look like the buttons that are in the mail by default.
The border does not come from the styling.
I tried coloring the border in red with styling, instead it has all 3 buttons bordered together instead of each one individually.
It would also be nice if there was some space between the individual buttons to make it look cleaner.