marcinwal
marcinwal

Reputation: 169

how to style Server templates in meteor

I have a file in my /private folder which I then use for SSR.compileTemplate and SSR.render to send nice html verification email; is it possible to style it with bootstrap as well? if so where I should put the real client-like template file ?

Upvotes: 0

Views: 65

Answers (1)

abj27
abj27

Reputation: 131

If its for email template you will need inline styles in order to make it work with most of the email services, so you just use a css inliner(like this one http://foundation.zurb.com/emails/inliner.html).

Another problem you might find is that some features don't work, like media queries, so its possible that your bootstrap styles don't look as you wanted.

I recommend you to use the zurb foundation emails, It has great compatibility with most of the email clients http://foundation.zurb.com/emails.html

Upvotes: 1

Related Questions