<?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 Multi layered backgrounds with drag and drop in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Multi-layered-backgrounds-with-drag-and-drop/m-p/555815#M26810</link>
    <description>&lt;P&gt;Hey everyone, I need some help here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SCENARIO&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I’m building out a dnd template for a theme. I’d like to have a section that contains a multi-layer background. The background contains 3 gradient layers, an image layer, and a blend-mode for each layer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CSS&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;background: linear-gradient(to right, rgba({{ bgColor|convert_rgb }}, 1), rgba({{ bgColor|convert_rgb }}, 0)),
            linear-gradient(to right, rgba({{ bgColor|convert_rgb }}, .5), rgba({{ bgColor|convert_rgb }}, .5)),
            linear-gradient(to right, #fff, #fff),
            url({{ bg.bg_image.src }});
background-position: {{ convert_position(bg_hor, bg_vert) }};
background-size: cover;
background-blend-mode: normal,
                       normal,
                       saturation,
                       normal;
background-repeat: no-repeat;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;IDEAL SOLUTION&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How can I build this type of background for a dnd section? I see dnd section options for “background_image,” “background_color,” and “background_linear_gradient,” but not for “background” or “background-blend-mode,” which are needed in order to get this effect. Is the effect possible?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;POTENTIAL WORKAROUNDS&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Build a custom module with the background and then create a dnd section that uses the module. A content editor can then add the section to any dnd area. How can I turn off the dnd section options (content alignment, padding, margin, background) after setting default values, since adjusting those will cause the module background to not fill the dnd section correctly?&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;Build a custom module that can be added to a flexible content area. How can I allow a content editor to add a module or a dnd section without designating specific dnd areas and flexible widget areas (so they can add a module or dnd section anywhere on the page)?&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 13 Jan 2022 19:41:57 GMT</pubDate>
    <dc:creator>r_levine</dc:creator>
    <dc:date>2022-01-13T19:41:57Z</dc:date>
  </channel>
</rss>

