Simplenews - Ugly Background in the emails sent
I keep getting an ugly brown background colour in the emails that i send through simplenews and mail I'm using Mime Mail 6.x-1.x-dev and Simplenews 6.x-1.0-rc4 I created mail.css and entered the following (ONLY) in that file and saved it in themes/mytheme/ folder. But the dark background is still showing up. Please note the email.css does not contain any other code - only the following text (this is because i want only the background colour to go away - the rest is fine) #content, #mimemail-body { background-color: #FFFFFF; } Is there something I am doing wrong? Pl guide me -- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
Did you try Body {background:#fff;} Hans 2009/1/30, geniekids <ratadi2@gmail.com>:
I keep getting an ugly brown background colour in the emails that i send through simplenews and mail I'm using Mime Mail 6.x-1.x-dev and Simplenews 6.x-1.0-rc4
I created mail.css and entered the following (ONLY) in that file and saved it in themes/mytheme/ folder. But the dark background is still showing up. Please note the email.css does not contain any other code - only the following text (this is because i want only the background colour to go away - the rest is fine)
#content, #mimemail-body { background-color: #FFFFFF;
}
Is there something I am doing wrong? Pl guide me
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Verzonden vanaf mijn mobiele apparaat Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info@koba.be
Tried but it dd not help :-( For your info - my mail.css file now reads as following:
#content, #mimemail-body { background-color: white; } body { background:#fff; }
Did you try Body {background:#fff;} Hans -- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
Not sure if this helps. I'm thinking that your mail.css file is being overwritten by another css loading "after" the mail.css is loaded. My thought is to try something like: body { background: #fff !important; } -Tina geniekids wrote:
Tried but it dd not help :-( For your info - my mail.css file now reads as following:
/#content, #mimemail-body { background-color: white; } body { background:#fff; }/
Did you try Body {background:#fff;} Hans ------------------------------------------------------------------------ View this message in context: Re: Simplenews - Ugly Background in the emails sent <http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21758764.html> Sent from the Drupal - Support mailing list archive <http://www.nabble.com/Drupal---Support-f14422.html> at Nabble.com.
No even this did not help :-( Although i agree with you when you say some other css is getting loaded - and this background colour is coming from the "theme" that i am using (Tapestry) - as when i change the theme to bluemarine - the background in the email sent is fine (white) Also i am using fckeditor - does that effect? Thanks anyway Tina Callahan-2 wrote:
Not sure if this helps.
I'm thinking that your mail.css file is being overwritten by another css loading "after" the mail.css is loaded. My thought is to try something like:
body { background: #fff !important; }
-Tina
geniekids wrote:
Tried but it dd not help :-( For your info - my mail.css file now reads as following:
/#content, #mimemail-body { background-color: white; } body { background:#fff; }/
Did you try Body {background:#fff;} Hans ------------------------------------------------------------------------ View this message in context: Re: Simplenews - Ugly Background in the emails sent <http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21758764.html> Sent from the Drupal - Support mailing list archive <http://www.nabble.com/Drupal---Support-f14422.html> at Nabble.com. -- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
Try the following:Goto admin/settings/fckeditor and change in the profile you are using the css settings of "editor css" to fckeditor default. I think it is now set to theme css. You could also check the color hex value with a color picker from the newsletter email and search for it in the css of your current theme to see where it comes from if you prefer not to set fckeditor to default css. If that doesn't help, you might want to create a contemplate for your newsletter; I have described the process (amongst other stuff you can do) in http://drupal.org/node/268404 Good luck, Hans 2009/1/31 geniekids <ratadi2@gmail.com>
Also i am using fckeditor - does that effect? Thanks anyway
Thanks Hans 1. I already have in fckeditor default as css setting (not the theme setting) - so that is not helping. 2. I tried google search on how to pick colour and find its hex value - couldn't get what would help me - as yet - but what i want to know - even i find out which entry in style.css is passing on the colour - what will i do with it? 3. Your third option right now looks too complicated for a ( novice like me ) and for a simple purpose of removal of background colour. So am not sure i want to invest so much time into it. I found another way around - though quite temporary - i logged in as admin and set an admin theme for the website which has white background (bluemarine) - and then used that to send the newsletter - it worked. Ratnesh KOBA | Hans Rossel-2 wrote:
Try the following:Goto admin/settings/fckeditor and change in the profile you are using the css settings of "editor css" to fckeditor default. I think it is now set to theme css. You could also check the color hex value with a color picker from the newsletter email and search for it in the css of your current theme to see where it comes from if you prefer not to set fckeditor to default css.
If that doesn't help, you might want to create a contemplate for your newsletter; I have described the process (amongst other stuff you can do) in http://drupal.org/node/268404
Good luck,
Hans
2009/1/31 geniekids <ratadi2@gmail.com>
Also i am using fckeditor - does that effect? Thanks anyway
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
The Simplenews module README.txt speaks of a helper module which can allow you to theme individual templates: * Simplenews_template Simplenews Template provides a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently. See http://drupal.org/project/simplenews_template Victor Kane http://awebfactory.com.ar On Sat, Jan 31, 2009 at 8:00 AM, geniekids <ratadi2@gmail.com> wrote:
Thanks Hans
1. I already have in fckeditor default as css setting (not the theme setting) - so that is not helping. 2. I tried google search on how to pick colour and find its hex value - couldn't get what would help me - as yet - but what i want to know - even i find out which entry in style.css is passing on the colour - what will i do with it? 3. Your third option right now looks too complicated for a ( novice like me ) and for a simple purpose of removal of background colour. So am not sure i want to invest so much time into it.
I found another way around - though quite temporary - i logged in as admin and set an admin theme for the website which has white background (bluemarine) - and then used that to send the newsletter - it worked.
Ratnesh
KOBA | Hans Rossel-2 wrote:
Try the following:Goto admin/settings/fckeditor and change in the profile you are using the css settings of "editor css" to fckeditor default. I think it is now set to theme css. You could also check the color hex value with a color picker from the newsletter email and search for it in the css of your current theme to
see
where it comes from if you prefer not to set fckeditor to default css.
If that doesn't help, you might want to create a contemplate for your newsletter; I have described the process (amongst other stuff you can do) in http://drupal.org/node/268404
Good luck,
Hans
2009/1/31 geniekids <ratadi2@gmail.com>
Also i am using fckeditor - does that effect? Thanks anyway
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
I didn't mean that you should follow the whole procedure for making a complex themable newsletter, you could just make a contemplate and wrap the content in a div so you have a div where you can put inline css inside for the background color. For a colorpicker for Windows you could use http://www.colorschemer.com/colorpix_info.php click the color in the email and search for it in your theme css. simplenews_template module is not usable for Drupal 6 at the moment, there are some critical bugs in the issue queue. Also is rather a way to add a different header and footer per newsletter, but it has a place where you can add css, I'm not sure if this will be more effective than changing mail.css though. Hans
Well i tried that too but it just gave me more problems - instead of removing the background - the whole email vanished (i ended up spending considerable time looking up support request in that module and the whole things even more complicated that my current problem :-/ Victor Kane-2 wrote:
The Simplenews module README.txt speaks of a helper module which can allow you to theme individual templates:
* Simplenews_template Simplenews Template provides a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently.
See http://drupal.org/project/simplenews_template
Victor Kane http://awebfactory.com.ar
On Sat, Jan 31, 2009 at 8:00 AM, geniekids wrote:
Thanks Hans
1. I already have in fckeditor default as css setting (not the theme setting) - so that is not helping. 2. I tried google search on how to pick colour and find its hex value - couldn't get what would help me - as yet - but what i want to know - even i find out which entry in style.css is passing on the colour - what will i do with it? 3. Your third option right now looks too complicated for a ( novice like me ) and for a simple purpose of removal of background colour. So am not sure i want to invest so much time into it.
I found another way around - though quite temporary - i logged in as admin and set an admin theme for the website which has white background (bluemarine) - and then used that to send the newsletter - it worked.
Ratnesh
KOBA | Hans Rossel-2 wrote:
Try the following:Goto admin/settings/fckeditor and change in the
profile
you are using the css settings of "editor css" to fckeditor default. I think it is now set to theme css. You could also check the color hex value with a color picker from the newsletter email and search for it in the css of your current theme to see where it comes from if you prefer not to set fckeditor to default css.
If that doesn't help, you might want to create a contemplate for your newsletter; I have described the process (amongst other stuff you can do) in http://drupal.org/node/268404
Good luck,
Hans
2009/1/31 geniekids
Also i am using fckeditor - does that effect? Thanks anyway
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
Well, if the whole mail disappeared, at least you were on the right track! :) Maybe you can see what's going on and contribute back to the issue queue. Of course, if it just represents a pain, leave it, sure, Victor On Thu, Feb 5, 2009 at 3:23 PM, geniekids <ratadi2@gmail.com> wrote:
Well i tried that too but it just gave me more problems - instead of removing the background - the whole email vanished (i ended up spending considerable time looking up support request in that module and the whole things even more complicated that my current problem
Victor Kane-2 wrote: The Simplenews module README.txt speaks of a helper module which can allow you to theme individual templates: * Simplenews_template Simplenews Template provides a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently. See http://drupal.org/project/simplenews_template Victor Kane http://awebfactory.com.ar On Sat, Jan 31, 2009 at 8:00 AM, geniekids wrote: > > Thanks Hans > > 1. I already have in fckeditor default as css setting (not the theme > setting) - so that is not helping. > 2. I tried google search on how to pick colour and find its hex value - > couldn't get what would help me - as yet - but what i want to know - even i > find out which entry in style.css is passing on the colour - what will i do > with it? > 3. Your third option right now looks too complicated for a ( novice like me > ) and for a simple purpose of removal of background colour. So am not sure > i > want to invest so much time into it. > > I found another way around - though quite temporary - i logged in as admin > and set an admin theme for the website which has white background > (bluemarine) - and then used that to send the newsletter - it worked. > > Ratnesh > > > KOBA | Hans Rossel-2 wrote: > > > > Try the following:Goto admin/settings/fckeditor and change in the profile > > you are using the css settings of "editor css" to fckeditor default. I > > think > > it is now set to theme css. > > You could also check the color hex value with a color picker from the > > newsletter email and search for it in the css of your current theme to > see > > where it comes from if you prefer not to set fckeditor to default css. > > > > If that doesn't help, you might want to create a contemplate for your > > newsletter; I have described the process (amongst other stuff you can do) >
in http://drupal.org/node/268404 > > > > Good luck, > > > > Hans > > > > 2009/1/31 geniekids > > > >> > >> > >> Also i am using fckeditor - does that effect? > >> Thanks anyway > >> > >> > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > View this message in context: > http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21761669.html> Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ]
------------------------------ View this message in context: Re: Simplenews - Ugly Background in the emails sent<http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21856692.html>
Sent from the Drupal - Support mailing list archive<http://www.nabble.com/Drupal---Support-f14422.html>at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
Yes Victor - i did try sorting that out - have even posted on that "issue" queue - but it has got too complicated for my limited programing knowledge (i haven;t even applied a ptch in my life :-( Victor Kane-2 wrote:
Well, if the whole mail disappeared, at least you were on the right track! :) Maybe you can see what's going on and contribute back to the issue queue.
Of course, if it just represents a pain, leave it, sure,
Victor
On Thu, Feb 5, 2009 at 3:23 PM, geniekids <ratadi2@gmail.com> wrote:
Well i tried that too but it just gave me more problems - instead of removing the background - the whole email vanished (i ended up spending considerable time looking up support request in that module and the whole things even more complicated that my current problem
Victor Kane-2 wrote: The Simplenews module README.txt speaks of a helper module which can allow you to theme individual templates: * Simplenews_template Simplenews Template provides a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently. See http://drupal.org/project/simplenews_template Victor Kane http://awebfactory.com.ar On Sat, Jan 31, 2009 at 8:00 AM, geniekids wrote: > > Thanks Hans > > 1. I already have in fckeditor default as css setting (not the theme > setting) - so that is not helping. > 2. I tried google search on how to pick colour and find its hex value - > couldn't get what would help me - as yet - but what i want to know - even i > find out which entry in style.css is passing on the colour - what will i do > with it? > 3. Your third option right now looks too complicated for a ( novice like me > ) and for a simple purpose of removal of background colour. So am not sure > i > want to invest so much time into it. > > I found another way around - though quite temporary - i logged in as admin > and set an admin theme for the website which has white background > (bluemarine) - and then used that to send the newsletter - it worked. > > Ratnesh > > > KOBA | Hans Rossel-2 wrote: > > > > Try the following:Goto admin/settings/fckeditor and change in the profile > > you are using the css settings of "editor css" to fckeditor default. I > > think > > it is now set to theme css. > > You could also check the color hex value with a color picker from the > > newsletter email and search for it in the css of your current theme to > see > > where it comes from if you prefer not to set fckeditor to default css. > > > > If that doesn't help, you might want to create a contemplate for your > > newsletter; I have described the process (amongst other stuff you can do)
in http://drupal.org/node/268404 > > > > Good luck, > > > > Hans > > >
2009/1/31 geniekids > > > >> > >> > >> Also i am using fckeditor - does that effect? > >> Thanks anyway > >> > >> > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > View this message in context: > http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21761669.html> Sent from the Drupal - Support mailing list archive at Nabble.com. > > --
[ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ]
------------------------------ View this message in context: Re: Simplenews - Ugly Background in the emails sent<http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp21745827p21856692.html>
Sent from the Drupal - Support mailing list archive<http://www.nabble.com/Drupal---Support-f14422.html>at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
It is relatively painless and will lead you on to a whole new state of consciousness, and improve your karma points ;) http://www.google.com.ar/search?q=how+apply+patch+drupal&ie=utf-8&oe=utf-8&a... On Fri, Feb 6, 2009 at 8:23 AM, geniekids <ratadi2@gmail.com> wrote:
Yes Victor - i did try sorting that out - have even posted on that "issue" queue - but it has got too complicated for my limited programing knowledge (i haven;t even applied a ptch in my life :-(
Victor Kane-2 wrote:
Well, if the whole mail disappeared, at least you were on the right
track!
:) Maybe you can see what's going on and contribute back to the issue queue.
Of course, if it just represents a pain, leave it, sure,
Victor
On Thu, Feb 5, 2009 at 3:23 PM, geniekids <ratadi2@gmail.com> wrote:
Well i tried that too but it just gave me more problems - instead of removing the background - the whole email vanished (i ended up spending considerable time looking up support request in that module and the whole things even more complicated that my current problem
Victor Kane-2 wrote: The Simplenews module README.txt speaks of a helper module which can allow you to theme individual templates: * Simplenews_template Simplenews Template provides a themable template with configurable header, footer and style. Header, footer and style are configurable for each newsletter independently. See http://drupal.org/project/simplenews_template Victor Kane http://awebfactory.com.ar On Sat, Jan 31, 2009 at 8:00 AM, geniekids wrote: > > Thanks Hans > > 1. I already have in fckeditor default as css setting (not the theme > setting) - so that is not helping. > 2. I tried google search on how to pick colour and find its hex value - > couldn't get what would help me - as yet - but what i want to know - even i > find out which entry in style.css is passing on the colour - what will i do > with it? > 3. Your third option right now looks too complicated for a ( novice like me > ) and for a simple purpose of removal of background colour. So am not sure > i > want to invest so much time into it. > > I found another way around - though quite temporary - i logged in as admin > and set an admin theme for the website which has white background > (bluemarine) - and then used that to send the newsletter - it worked. > > Ratnesh > > > KOBA | Hans Rossel-2 wrote: > > > > Try the following:Goto admin/settings/fckeditor and change in the profile > > you are using the css settings of "editor css" to fckeditor default. I > > think > > it is now set to theme css. > > You could also check the color hex value with a color picker from the > > newsletter email and search for it in the css of your current theme to > see > > where it comes from if you prefer not to set fckeditor to default css. > > > > If that doesn't help, you might want to create a contemplate for your > > newsletter; I have described the process (amongst other stuff you can do)
in http://drupal.org/node/268404 > > > > Good luck, > > > > Hans > >
2009/1/31 geniekids > > > >> > >> > >> Also i am using fckeditor - does that effect? > >> Thanks anyway > >> > >> > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > View this message in context: >
http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174...
Sent from the Drupal - Support mailing list archive at Nabble.com. > > --
[ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ]
------------------------------ View this message in context: Re: Simplenews - Ugly Background in the emails sent< http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174...
Sent from the Drupal - Support mailing list archive<http://www.nabble.com/Drupal---Support-f14422.html>at
Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
-- [ Drupal support list | http://lists.drupal.org/ ]
I also saw the ugly background now in some of my mails and in some email clients, results were also different by browser; so gmail in chrome was ok but not in IE. Got rid of it by removing <tbody> tags and generally porting the html back to the nineties, make your html as old as possible and it should work. There is also interesting information about what is supported of html in emails in http://www.campaignmonitor.com/css/ Hans
KOBA | Hans Rossel-2 wrote:
Got rid of it by removing <tbody> tags and generally porting the html back to the nineties, make your html as old as possible and it should work.
Hans how exactly did you do this - can you help me with a step by step guide. -- View this message in context: http://www.nabble.com/Simplenews---Ugly-Background-in-the-emails-sent-tp2174... Sent from the Drupal - Support mailing list archive at Nabble.com.
participants (4)
-
geniekids -
KOBA | Hans Rossel -
Tina Callahan -
Victor Kane