<?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 CTA is not responsive in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/CTA-is-not-responsive/m-p/994789#M39584</link>
    <description>&lt;P&gt;So I'm trying to embed a cta into a page (new CTA, not legacy) and even though I am setting the thing to be responsive, it is still getting fixed dimensions in the code output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="hs-cta-embed hs-cta-simple-placeholder hs-cta-embed-170715962685 hs-cta-embed__loaded" style="max-width:100%; max-height:100%; width:400px;height:335px" data-hubspot-wrapper-cta-id="170715962685"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;iframe src="&lt;A href="https://23183164.hs-sites.com/hs-web-interactive-23183164-170715962685?utk=07c6f50bb6d0b1b330be7435a5012e62" target="_blank" rel="noopener"&gt;https://23183164.hs-sites.com/hs-web-interactive-23183164-170715962685?utk=07c6f50bb6d0b1b330be7435a5012e62&lt;/A&gt;" aria-label="Embedded CTA" title="Embedded CTA" allow="autoplay; fullscreen;" data-test-id="interactive-frame" class="go812842568" style="border: none; height: 100%; width: 100%;"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter what I do I can't get the CTA to scale down far enough for mobile views. I can set the parent container to overflow: hidden but this isn't really the greatest solution. Anyone know a work around?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 05:33:24 GMT</pubDate>
    <dc:creator>AGray65</dc:creator>
    <dc:date>2024-06-20T05:33:24Z</dc:date>
    <item>
      <title>CTA is not responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CTA-is-not-responsive/m-p/994789#M39584</link>
      <description>&lt;P&gt;So I'm trying to embed a cta into a page (new CTA, not legacy) and even though I am setting the thing to be responsive, it is still getting fixed dimensions in the code output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="hs-cta-embed hs-cta-simple-placeholder hs-cta-embed-170715962685 hs-cta-embed__loaded" style="max-width:100%; max-height:100%; width:400px;height:335px" data-hubspot-wrapper-cta-id="170715962685"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;iframe src="&lt;A href="https://23183164.hs-sites.com/hs-web-interactive-23183164-170715962685?utk=07c6f50bb6d0b1b330be7435a5012e62" target="_blank" rel="noopener"&gt;https://23183164.hs-sites.com/hs-web-interactive-23183164-170715962685?utk=07c6f50bb6d0b1b330be7435a5012e62&lt;/A&gt;" aria-label="Embedded CTA" title="Embedded CTA" allow="autoplay; fullscreen;" data-test-id="interactive-frame" class="go812842568" style="border: none; height: 100%; width: 100%;"&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter what I do I can't get the CTA to scale down far enough for mobile views. I can set the parent container to overflow: hidden but this isn't really the greatest solution. Anyone know a work around?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 05:33:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CTA-is-not-responsive/m-p/994789#M39584</guid>
      <dc:creator>AGray65</dc:creator>
      <dc:date>2024-06-20T05:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: CTA is not responsive</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CTA-is-not-responsive/m-p/995030#M39596</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/780859"&gt;@AGray65&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was running into the same issue and thought it was a bug but HubSpot support confirmed the code is generated as intended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The proposed solution is to set the immediate parent container (of the &amp;lt;div class="&lt;SPAN&gt;hs-cta-embed..."&amp;gt;)&amp;nbsp;&lt;/SPAN&gt;to "max-width: 100%" - which worked in our case.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 13:56:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CTA-is-not-responsive/m-p/995030#M39596</guid>
      <dc:creator>evaldas</dc:creator>
      <dc:date>2024-06-20T13:56:03Z</dc:date>
    </item>
  </channel>
</rss>

