Have been trying to use stylesheets from our website when constructing a custom email, but when I preview, none of the styling takes effect.
Here is a snippit from the top of the code :
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>2018-11-LSG-CI-Training-Program</title>
<!-- Bootstrap -->
<link href="http://inovis.global/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="http://inovis.global/css/TMW-bootstrap-style-base.css" rel="stylesheet" type="text/css" />
Probably a very simple fix, but I am stumped!
Thanks for any help
Solved! Go to Solution.
Hiya @MarcL12,
Thanks for the good question! Our system actually can not use outside style sheets. That style tab in XHTML only pulls styles in the actual sheet itself. Styles can be added using the style sheet or by adding inline styles. The following is a link to an article we have on Custom Code email creation. I do apologize for the inconvenience.
Hiya @MarcL12,
Thanks for the good question! Our system actually can not use outside style sheets. That style tab in XHTML only pulls styles in the actual sheet itself. Styles can be added using the style sheet or by adding inline styles. The following is a link to an article we have on Custom Code email creation. I do apologize for the inconvenience.
Hi @MarcL12,
I'm happy to hear that your inquiry was answered! Please let us know if you need assistance with anything else! Take care!
Hi Marc,
To use css, I just put my style sheet in the header of my custom CC template, and it works great. I literally just copied and pasted the whole style sheet into the header using the Advance Editor and saved it as a template that I use to write all my newsletters with. I do write my html by hand, since the html editor could disturb the code, but if you're coding stylesheets, you must write your own too. Anyway, it's a workaround that works!
Hello @hvhibiscus,
That's great feedback, and I'm glad to hear that you've found a solution that works for you! If there's anything that we can help with, please let us know.