Background color in Mailchimp

I chose the full width template for a postal chimpanzee, and I can't change the background color of each line for life.

It allows the width of the color bar to be used for the header, but not for subsequent blocks. I can set inline styles or inline css in there, but I don't know how to target each line.

I've been sent emails that show this, but I can't seem to get it. Any help would be great.

+3


source to share


2 answers


It seems that the background color can be changed for "boxed" content sections, but not for other content sections. Even in the box, the text is added automatically, so the background color won't span the entire width (unless you edit the source.)

If you want all lines to have the same background , you can change it by clicking "design" at the top of the right menu. In this section, you can set the background for each section of the page (header, body, footer.)

If you want the line / content sections in each section of the page to have different colors , you need to edit the source code directly.



You can do this from a mail chimpanzee by clicking the edit button for the section you want to change the background in and then clicking the source <> icon. If you want to edit it outside of the post chimpanzee, you can export the html by going to "templates" and "edit" and a down arrow button will appear on the right side. You can export html by clicking the dropdown menu.

To edit html directly add inline style. style = "background-color: [color]; padding: 0;"

0


source


I found it works if you add it to the source of the blocks before the content.



<div style="background-color: black; position:absolute; top:0; left:0; width:100%; height:100%; z-index:-1;"></div>

      

0


source







All Articles