<?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 Animating a Box in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12408#M1221</link>
    <description>&lt;P&gt;Hi world,&lt;/P&gt;&lt;P&gt;I am working on this animated "quote" box to use for my customer testimonials. What I want is a flip on the y axis 180 degrees to show a quote box. I want the front of the box to have an image which i can edit as needed for images of each customer's headshot. My issue is coding this. I'm using custom HTML code. Check out my JSFiddle &lt;A href="https://jsfiddle.net/ohhcoconut/o9d3pzbj/4/" target="_self"&gt;here&lt;/A&gt;. I'm not set on the style yet, definitely not a fan of the font.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the back side, the white background and text overlaps to&amp;nbsp;the outside of the box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also cannot figure out how to code the html front side to have an image in the box and be able to change the image as needed for each respective customer headshot. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated! I've tried to use w3schools and now I'm stuck.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2017 19:19:21 GMT</pubDate>
    <dc:creator>Ohhcoconut</dc:creator>
    <dc:date>2017-04-18T19:19:21Z</dc:date>
    <item>
      <title>Animating a Box</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12408#M1221</link>
      <description>&lt;P&gt;Hi world,&lt;/P&gt;&lt;P&gt;I am working on this animated "quote" box to use for my customer testimonials. What I want is a flip on the y axis 180 degrees to show a quote box. I want the front of the box to have an image which i can edit as needed for images of each customer's headshot. My issue is coding this. I'm using custom HTML code. Check out my JSFiddle &lt;A href="https://jsfiddle.net/ohhcoconut/o9d3pzbj/4/" target="_self"&gt;here&lt;/A&gt;. I'm not set on the style yet, definitely not a fan of the font.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the back side, the white background and text overlaps to&amp;nbsp;the outside of the box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also cannot figure out how to code the html front side to have an image in the box and be able to change the image as needed for each respective customer headshot. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated! I've tried to use w3schools and now I'm stuck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 19:19:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12408#M1221</guid>
      <dc:creator>Ohhcoconut</dc:creator>
      <dc:date>2017-04-18T19:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Animating a Box</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12598#M1232</link>
      <description>&lt;P&gt;Hi Ohhcoconut,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemnted stuff like this before.. i just looked for some references I've seen in the past and found this might be helpful for you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://davidwalsh.name/css-flip" target="_blank"&gt;https://davidwalsh.name/css-flip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://davidwalsh.name/demo/css-flip.php" target="_blank"&gt;https://davidwalsh.name/demo/css-flip.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my &lt;A href="https://jsfiddle.net/ahL3ujx1/" target="_blank"&gt;JS Fiddle&lt;/A&gt; I did quickly.. i think JSFiddle is havving issues loading your image though but it's working a little better maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:39:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12598#M1232</guid>
      <dc:creator>misterizzo</dc:creator>
      <dc:date>2017-04-19T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Animating a Box</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12601#M1233</link>
      <description>&lt;P&gt;Hi Misterizzo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David Walsh&amp;nbsp;is the template I used to create a flip box, I used his codepen. Take a look at my &lt;A href="https://jsfiddle.net/ohhcoconut/o9d3pzbj/" target="_self"&gt;JSFiddle&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is write a code in CSS that I can edit the image per box in the custom html code. Is there a way to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;-Colleen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 21:52:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12601#M1233</guid>
      <dc:creator>Ohhcoconut</dc:creator>
      <dc:date>2017-04-19T21:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Animating a Box</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12604#M1234</link>
      <description>&lt;P&gt;Oh..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll probably need to build a custom module in HubSpot to support this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://medium.com/@mikedrizzo/landing-page-background-images-with-rich-text-on-top-hubspot-hack-c989d2b33afd" target="_blank"&gt;I did something similar for background images on landing pages in the past.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just customize the CSS file and have that module made, the template should include a flexible column and you'll be able to add in a new module every time you have a new square to add.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alternative would be to take the HubDB approach (assuming you're using the website package) and have a team members page load with the CSS tricks you're using. &lt;A href="http://designers.hubspot.com/docs/tutorials/how-to-build-a-dynamic-team-member-page-with-hubdb" target="_blank"&gt;The HubDB example for team member pages (luck you) is here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code I used with the custom module and fields I built:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% widget_block raw_html "my_custom_html_module" overrideable=False, label='Custom Background Image or Color Block'  %}

        {% widget_attribute "value" %}
        
            &amp;lt;div class="background-image-custom-module" style="background-image: url('{{ widget.custom_background_image.src }}'); background-color: {{ widget.optional_color_overlay }};" alt="{{ widget.custom_background_image.alt }}"&amp;gt;
                &amp;lt;div class="page-center"&amp;gt;
                    &amp;lt;div class="rich-text-custom-background"&amp;gt;
                        &amp;lt;span&amp;gt;{{ widget.rich_text_copy }}&amp;lt;/span&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        {% end_widget_attribute %}
        
{% end_widget_block %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the screen grab of how the widgets were setup:&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screen Shot 2017-04-19 at 3.01.47 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/2691iDE2CE99BA73C0565/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-04-19 at 3.01.47 PM.png" alt="Screen Shot 2017-04-19 at 3.01.47 PM.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 22:04:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12604#M1234</guid>
      <dc:creator>misterizzo</dc:creator>
      <dc:date>2017-04-19T22:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Animating a Box</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12831#M1249</link>
      <description>&lt;P&gt;Hi Misterizzo,&lt;/P&gt;&lt;P&gt;I ended up calling into hubspot support and they created a module for me. Your description was far too intricate and difficult for me to understand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But thank you for trying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 15:05:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Animating-a-Box/m-p/12831#M1249</guid>
      <dc:creator>Ohhcoconut</dc:creator>
      <dc:date>2017-04-21T15:05:45Z</dc:date>
    </item>
  </channel>
</rss>

