Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide "display="inline" or provide css-style attribute? #2937

Open
JosephOluOlofinte opened this issue Feb 20, 2025 · 4 comments
Open

Comments

@JosephOluOlofinte
Copy link

Can you provide "display="inline" or provide css-style attribute so we can provide styles? I'm having problems setting my social icons to display inline rather than blocks.

I'm sure there might be a workaround for it out there, but can we have a standard way of doing that in mjml right away?

@iRyusa
Copy link
Member

iRyusa commented Feb 20, 2025 via email

@JosephOluOlofinte
Copy link
Author

Can you share some code please ? I'm not sure to get it (use
https://mjml.io/try-it-live to share snippet)

Message ID: @.***>

https://mjml.io/try-it-live/CFNOCtiDnI

I need to make the social media icons display inline.

@iRyusa
Copy link
Member

iRyusa commented Feb 20, 2025 via email

@JosephOluOlofinte
Copy link
Author

Thank you (for letting me go back to the documentation)

I had read in the docs: "You should avoid rely too much on this as those icons are hosted by Mailjet for their Email Builder." And I went back there to copy the quoted text. While doing that, I noticed there's a way to add custom social elements.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants