Jump to content
Sign in to follow this  
mdvanhelden

Wich CSS rule to change for nice looking email (support2)

Recommended Posts

mdvanhelden

Hi! I'm very sorry, I markes my previous discussion as 'answered', but it is nog....I don't know how to open it again, so I just start a new one. (I'm really sorry!!) I'm very glad to work with PlatformPro (Base) themes. I adjust the base.css for my child theme and it's working fine. My question: I use the subscribe2 plugin to send automatically composed emails and I bought the html-version so I can make nice email-layout. But I don't know how to adjust my css. In the FAQ of subscirbe2 I read that I have to adjust the theme css to adjust the email css.... Can anyone help me out? What I do want is to make a nice email-layout. When I tell subscribe2 to use the themes css, my Emails have a black background and a really small font. I don't know which css-rules the email uses, so I don't know what to change. I hoped my email would look like my posts, but they don'n: my posts hava a white background f.i. ( I tried this for two different websites: http://www.webenfoto.nl and http://www.fairtradewinkelen.nl and the emails looked exactly the same) I managed to change de font style and the link color, but my background stays black and the font color stays white. I just don't know which CSS to use. (In my site the background is white and the font black...) So if anyone has an idea? For now I just changed the CSS in de base CSS of my child theme: /* Formatting Setup */ body{ font-size: 13 px; line-height:1.6em; height:100%; padding-top: 0px; padding-left: 0px; } /* Primary Font Style */ body, .font1, .font-primary, .commentlist, input{ font-family:Calibri, 'Times New Roman', Times, serif; }

Share this post


Link to post
Share on other sites
catrina
The property you need to add to the CSS for changing the font color is: [code]color: #XXXXXX;[/code] The custom CSS you have right now (for body and primary font style) isn't specific enough to change only the Subscribe2 appearance. Was this your intention or is that the CSS you want to keep for the overall style?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
mdvanhelden
Hi Catrina, I tried to do like you said, but is does not help? I even set the background color, but my emails still stay black with white font. Maybe it's not the body tag I have to change? My theme looks fine like it is, I only want to change the email output. Do you know which CSS style I have to change? Becaus my posts and pages are white with black fonts.... Thanks for your thoughts!

Share this post


Link to post
Share on other sites
catrina
It's not the body tag, it's another tag. For which website do you want to change it? Both?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
mdvanhelden
Thanks Catrina, Yeh, it must be another tag, but I just don't know which one. Both websites should stay the same, I only want to change the email output. Someone from Subscribe2 advised me to make a CSS only for email and mak the following plugin: ', $email, 2); $email = $first . '' . $second; return $email; } add_filter('s2_html_email', 'custom_s2html_filter'); ?> And I just tested it and it works just fine!

Share this post


Link to post
Share on other sites
kastelic
You can try adding !important after a rule like this: [code] h1 { color: black !important } [/code] Other than that, do you need more help with this?

Share this post


Link to post
Share on other sites
mdvanhelden
Thank you Kastelic, maybe I could try that, but for mow I'm sattisfied with the solution I described above.

Share this post


Link to post
Share on other sites
Rob
Okay. Glad you're happy with the solution. If any of the question topics are "Answered", you just go to the topic and scroll to the bottom to add a new comment. It changes from a green answered to a brown one. The color coding tells us whether you accepted or not. We usually don't close topics. Unless it says "Closed", then you can post as often as you want.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×