CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • how to create colour background in template messages ?
Pages: [1]

Author Topic: how to create colour background in template messages ?  (Read 572 times)

FC07

  • Guest
how to create colour background in template messages ?
November 28, 2010, 02:17:59 am
Hi, I am trying to create a template message in CiviMail with a colour background. complete unsuccess so far. I've copied the html code in the html window but it has no effect.
Can someone help ?
Thanks

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: how to create colour background in template messages ?
November 28, 2010, 04:58:25 pm
You may need to use an explicit style attribute on the enclosing div. Something like this:

<div style="background-color: #cccccc;">

(you'll use the "Source" button in the HTML / WYSIWYG editor to add this).

If this isn't working, you might want to paste the HTML / CSS code you're using here so folks can potentially give your more help.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • how to create colour background in template messages ?

This forum was archived on 2017-11-26.