MasL Posted April 19, 2014 Share Posted April 19, 2014 Hey, I've gone ahead and got a email template coded. Now the only thing is, I do not have a style.css file in the folder and I see that you are able to add CSS to the email in the Mail tab in General settings. Instead of a style.css I have a <style> tag found in the top of the index.html. I've tried pasting all of this into the Global Email CSS Styling section in the General Settings but it doesn't seem to work. Could it be because of these: /* Fonts and Content */ Could I have some assistance? Please let me know if you require the document or anything! Thanks! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 19, 2014 Share Posted April 19, 2014 i'm not sure if this would work, but try putting {literal} before the <style> tag and {/literal} after </style> 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted April 19, 2014 Author Share Posted April 19, 2014 i'm not sure if this would work, but try putting {literal} before the <style> tag and {/literal} after </style> Hey Brian, Unfortunately I was quite sure what you meant by putting in before the <style> tag and after the </style> tag so I tried doing it in both of the CSS and HTML files and then removed it in the CSS and then removed it in the HTML and added in the CSS. All of these ideas did not work. Any other suggestions? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 19, 2014 Share Posted April 19, 2014 you don't need to add <style></style> in Global Email CSS Styling field, try remove this tag and place CSS code only 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted April 20, 2014 Author Share Posted April 20, 2014 you don't need to add <style></style> in Global Email CSS Styling field, try remove this tag and place CSS code only We fixed that up before, so there are no <style> </style> tags in the Global Email CSS Styling Field. We have <style> </style> tags in the HTML with {literal} {/literal} tags before and after the <style> tags aswell. Unfortunately It will still not work. Not sure why. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 20, 2014 Share Posted April 20, 2014 Could it be because of these: /* Fonts and Content */ did you try removing the comments from the CSS styling section? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 20, 2014 Share Posted April 20, 2014 also try to add the style sheet inside Global CSS instead of placing it with HTML, this is not when you try to send to your email? did you test it in Hotmail, Gmail, Yahoo, etc? 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted April 20, 2014 Author Share Posted April 20, 2014 did you try removing the comments from the CSS styling section? Doing that now. also try to add the style sheet inside Global CSS instead of placing it with HTML,this is not when you try to send to your email? did you test it in Hotmail, Gmail, Yahoo, etc? So remove it from within the HTML and just have it in the Global CSS on it's own without the <style> tags? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted April 20, 2014 Share Posted April 20, 2014 So remove it from within the HTML and just have it in the Global CSS on it's own without the <style> tags? yes give it a try 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted April 20, 2014 Author Share Posted April 20, 2014 yes give it a try Hey, Both of the ideas didn't work? Any more suggestions? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 20, 2014 Share Posted April 20, 2014 this might be one of those situations where we need to see your complete css code. 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted April 21, 2014 Author Share Posted April 21, 2014 Hello. Sorry for the late response, I've posted my CSS and the html into pastebin. CSS:http://pastebin.com/vuKRbVHZ HTML: http://pastebin.com/FWRgptNN Here they are! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 21, 2014 Share Posted April 21, 2014 the code looks fine to me... the problem may lie in how you've entered it into general settings -> mail you could split it into the following sections... Global Email CSS Styling: http://pastebin.com/kpdWB87E Global Email Header Content: http://pastebin.com/bCU1GRRZ Global Email Footer Content: http://pastebin.com/gfrRLty9 if you do that, you should start seeing emails as per below.. http://prntscr.com/3c113g remember, that you will need to resend the emails for them to use this new template. 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted May 31, 2014 Author Share Posted May 31, 2014 the code looks fine to me... the problem may lie in how you've entered it into general settings -> mail you could split it into the following sections... Global Email CSS Styling: http://pastebin.com/kpdWB87E Global Email Header Content: http://pastebin.com/bCU1GRRZ Global Email Footer Content: http://pastebin.com/gfrRLty9 if you do that, you should start seeing emails as per below.. http://prntscr.com/3c113g remember, that you will need to resend the emails for them to use this new template. Could you possibly reupload these bits of code? Thanks heaps! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2014 Share Posted May 31, 2014 Could you possibly reupload these bits of code?Thanks heaps! sure... Global Email CSS Styling: http://pastebin.com/9WYbR4pT Global Email Header Content: http://pastebin.com/KgS0f8xd Global Email Footer Content: http://pastebin.com/UuXxuUuC i've made these pastebins to not expire! 0 Quote Link to comment Share on other sites More sharing options...
MasL Posted June 1, 2014 Author Share Posted June 1, 2014 sure... Global Email CSS Styling: http://pastebin.com/9WYbR4pT Global Email Header Content: http://pastebin.com/KgS0f8xd Global Email Footer Content: http://pastebin.com/UuXxuUuC i've made these pastebins to not expire! Great! Thankyou so much! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.