![]() ![]() In this example, we have added a simple About US page where we have a rounded image, some text, and social media buttons. Style each component with CSS properties and use Font Awesome library to add social media icon buttons. Wrap all the contents within element and set the width: 100%, add some background-color and margin also. The about us page may contain some heading text, images, and social media buttons, etc. Here, we will learn to design this about us page with CSS. This page is widely used especially in the business website. It contains information about the purpose of the website, owner details, top employees, contact details, etc. If you want to see how merge tags will render for contacts, create a campaign from the template, and use our preview and test options.The About Us page contains insightful information about the website. When working in the Template Editor, merge tags will not render in previews or test emails.When editing your CSS, make sure you don't have any other background properties in your code, because they can override the background image. For this reason, be sure you choose a background color that will display your text properly if the background image doesn't load. The background image will not display if images are turned off in your recipient's inbox. Here are a few other tips for working with background images. To see how certain email clients will display your background image, use the Inbox Preview tool. You can access your new template in the campaign builder or on the Templates page.īefore you send your email campaign, thoroughly preview and test your template and send a few test emails to yourself. In the Save Template pop-up modal, name your template.When you're done editing the code, click Save.Replace or edit the remaining campaign code with your own custom HTML. Insert the following code just before the closing tag. Replace the two placeholder background image URLs and placeholder background color values in this code example with the color hex code of your choice and the absolute file path for your image URL.You'll replace these with your image and color information in the next step. This code displays placeholder image URLs and colors. In the Code Editor, insert the following code just after the opening tag to add the placeholder background image and color.Click the Code your own tab, and select Paste in code.Click Content, then click Email templates.To add a background image to a custom HTML template, follow these steps. You'll paste our example code into your template and change the placeholder image and background color to your own specifications. This process uses CSS, HTML, and VML to display a background image and color. To learn more, take a look at our Add a Background Image to a Landing Page or Email article.Īdd a background image to your custom HTML template You can also add a background image to a regular campaign.Mailchimp can also host your images for you in the content studio if they are less than 10MB.Be aware that if you host your own images on a private server, recipients without access to the server won't be able to see the image. Host your images on a public server or use a free service like Imgur or Flickr, and use an absolute file path that points directly to the file location in the code.For best results, set the resolution to 920 x 1080px or less, and compress the image. Large images can cause campaigns to display incorrectly in your recipients' inboxes.Background images may not render in every email client, so make sure you know which email clients support background images by reviewing our Email Client CSS Support article for details.Here are some things to know before you begin this process. ![]() ![]() In this article, you'll learn how to add a background image to your custom HTML template. Contact your developer, or hire a Mailchimp Expert if you need assistance. To further enhance the design of your marketing campaigns, you can add a background image to a Code your own template in Mailchimp's Template Builder.Ĭustom HTML templates are an advanced feature and are recommended for users familiar with custom coding. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |