<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Background color change in global template for landing page in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336323#M16432</link>
    <description>&lt;P&gt;Thank you. Here is the screenshot. The color should be #1c3564, and it should not be the full width of the page. It should be the width of the email&amp;nbsp; body.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot of template footer.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/26445i83A345CC4657A94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot of template footer.PNG" alt="screenshot of template footer.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 11:13:48 GMT</pubDate>
    <dc:creator>MarthaLord</dc:creator>
    <dc:date>2020-05-04T11:13:48Z</dc:date>
    <item>
      <title>Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/335864#M16400</link>
      <description>&lt;P&gt;I was referred here by text support. We could not see how to edit the code for the background in the global template footer. Can you help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the link to the Vast style CSS, provided by tech support:&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.hubspot.com/design-manager/1636334/code/26324735325" target="_blank"&gt;https://app.hubspot.com/design-manager/1636334/code/26324735325&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 19:28:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/335864#M16400</guid>
      <dc:creator>MarthaLord</dc:creator>
      <dc:date>2020-04-30T19:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336133#M16419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129552"&gt;@MarthaLord&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;We can't identify your issue from this Template/ Coded file link can you please schedule a call or send us Screenshot.&lt;BR /&gt;&lt;BR /&gt;Maybe I can help you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 20:20:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336133#M16419</guid>
      <dc:creator>psdtohubspot</dc:creator>
      <dc:date>2020-05-01T20:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336173#M16425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129552"&gt;@MarthaLord&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;this is the link to your template. unfortunatly nobody who hasn't access to your hub is able to look at it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share a preiew link of the template(button on the left besides the publish button).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you're using vast -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;open the css file which is applied to the template&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-05-02 um 13.17.23.png" style="width: 630px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/26401i9CE2FF044EE3F7F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2020-05-02 um 13.17.23.png" alt="Bildschirmfoto 2020-05-02 um 13.17.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;go back to your template and open the footer global group.&lt;/P&gt;
&lt;P&gt;It should have at least one class applied:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="in this case it's .footer-background" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/26402i549B2B99CC99A62B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2020-05-02 um 13.16.00.png" alt="in this case it's .footer-background" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;in this case it's .footer-background&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you have everything needed open - look for the class&lt;/P&gt;
&lt;PRE&gt;.footer-background{}&lt;/PRE&gt;
&lt;P&gt;in the CSS file.&lt;/P&gt;
&lt;P&gt;There should be some code like&lt;/P&gt;
&lt;PRE&gt;background-color: #333333;&lt;/PRE&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;background-color: {{ darkColor }};&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first one is a so called "hex-color" code. You can either replace it with your desired hex-color or rgb(a) color code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you see the second one -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it's a so called hubl code. It's HubSpot specific code which is - most likly defined and the beginning of the CSS file.&lt;/P&gt;
&lt;P&gt;It's used like this:&lt;/P&gt;
&lt;P&gt;Setup at the beginning of the css(recommended to have it at the top):&lt;/P&gt;
&lt;PRE&gt;{% set myNewRedColor = '#ff0000' %}&lt;/PRE&gt;
&lt;P&gt;useage in this particular CSS file:&lt;/P&gt;
&lt;PRE&gt;background-color: {{ myNewRedColor }};&lt;/PRE&gt;
&lt;P&gt;(you can put it everywhere).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The benefit of the hubl is that you can set up a few colors at the beginning and put them everywhere. If you'll decide to change a color in the future you'll need to change it only at the top ( in the "set" row).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;p.s.: If you don't find the class in the CSS - simply add it. I recommend you to add it at the very bottom of the CSS file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Sat, 02 May 2020 11:31:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336173#M16425</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2020-05-02T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336323#M16432</link>
      <description>&lt;P&gt;Thank you. Here is the screenshot. The color should be #1c3564, and it should not be the full width of the page. It should be the width of the email&amp;nbsp; body.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot of template footer.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/26445i83A345CC4657A94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot of template footer.PNG" alt="screenshot of template footer.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 11:13:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336323#M16432</guid>
      <dc:creator>MarthaLord</dc:creator>
      <dc:date>2020-05-04T11:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336324#M16433</link>
      <description>&lt;P&gt;Thank you. Because I don't do coding, I'm hesitant to make any changes, but I'll review your directions and attempt it. The footer is also wider (full page width) than it should be. How would I fix that?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 11:32:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336324#M16433</guid>
      <dc:creator>MarthaLord</dc:creator>
      <dc:date>2020-05-04T11:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Background color change in global template for landing page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336429#M16442</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/129552"&gt;@MarthaLord&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ok. So you mean the "contact us" part or "everything"(About, Header, Contact us)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's "everything":&lt;/P&gt;
&lt;P&gt;- simply add ".page center" to ".footer-background". It should look like this:&lt;/P&gt;
&lt;PRE&gt;.footer-background .page-center{
background: #1c3564;
}
&lt;/PRE&gt;
&lt;P&gt;If just the "right column"(the place where the email information is displayed) a&lt;STRONG&gt;nd you haven't changed anything in the default classes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;.footer-container-wrapper .contact-us{
background: #1c3564;
}&lt;/PRE&gt;
&lt;P&gt;If this won't work - please provide a preview link of the whole template (not just the footer group).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-05-04 um 19.50.02.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/26454iA0291C29C70B70AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2020-05-04 um 19.50.02.png" alt="Bildschirmfoto 2020-05-04 um 19.50.02.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 17:51:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Background-color-change-in-global-template-for-landing-page/m-p/336429#M16442</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2020-05-04T17:51:48Z</dc:date>
    </item>
  </channel>
</rss>

