<?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 Edit CSS for Downloading Quotes in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/926650#M37963</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been working with a child theme to edit a quote template's html and css. I've managed to make the quote responsive across all device types and screen sizes but I'm having difficulty getting the download version of the quote correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currenty when I click the download button on a quote the downloaded version is badly squashed and ends up on multiple pages. The second half of the quote is below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quote pg 2.jpg" style="width: 594px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/110174iE9545A152A48F801/image-size/large?v=v2&amp;amp;px=999" role="button" title="quote pg 2.jpg" alt="quote pg 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main theme's css contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; print {&lt;BR /&gt;.hs-quotes--modern .container {&lt;BR /&gt;max-width: unset;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.hs-quotes--modern .options {&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.quote-page-container {&lt;BR /&gt;-webkit-print-color-adjust: exact;&lt;BR /&gt;color-adjust: exact;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.hs-quotes--modern .header,&lt;BR /&gt;.hs-quotes--modern .colored-section,&lt;BR /&gt;.hs-quotes--modern .comments,&lt;BR /&gt;.hs-quotes--modern .terms,&lt;BR /&gt;.hs-quotes--modern .payment,&lt;BR /&gt;.hs-quotes--modern .esign,&lt;BR /&gt;.hs-quotes--modern .options,&lt;BR /&gt;.hs-quotes--modern .contacts {&lt;BR /&gt;break-inside: avoid;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used it as a template and my css is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-21 at 11.12.39 AM.png" style="width: 398px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/110180i74F95D14FCE31667/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-21 at 11.12.39 AM.png" alt="Screenshot 2024-02-21 at 11.12.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there must be something in the hubspot code that is overriding my styling, but I can't seem to figure it out. Plus its nearly impossible to test, since you have to create a new quote and get it approved before the download link works, and I haven't found a way to preview a download. If anyone has an easier way to test or knows of some css class that might be mucking things up I'd appreciate the help!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 18:36:39 GMT</pubDate>
    <dc:creator>JLittle2</dc:creator>
    <dc:date>2024-02-21T18:36:39Z</dc:date>
    <item>
      <title>Edit CSS for Downloading Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/926650#M37963</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've been working with a child theme to edit a quote template's html and css. I've managed to make the quote responsive across all device types and screen sizes but I'm having difficulty getting the download version of the quote correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currenty when I click the download button on a quote the downloaded version is badly squashed and ends up on multiple pages. The second half of the quote is below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quote pg 2.jpg" style="width: 594px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/110174iE9545A152A48F801/image-size/large?v=v2&amp;amp;px=999" role="button" title="quote pg 2.jpg" alt="quote pg 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main theme's css contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; print {&lt;BR /&gt;.hs-quotes--modern .container {&lt;BR /&gt;max-width: unset;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.hs-quotes--modern .options {&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.quote-page-container {&lt;BR /&gt;-webkit-print-color-adjust: exact;&lt;BR /&gt;color-adjust: exact;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.hs-quotes--modern .header,&lt;BR /&gt;.hs-quotes--modern .colored-section,&lt;BR /&gt;.hs-quotes--modern .comments,&lt;BR /&gt;.hs-quotes--modern .terms,&lt;BR /&gt;.hs-quotes--modern .payment,&lt;BR /&gt;.hs-quotes--modern .esign,&lt;BR /&gt;.hs-quotes--modern .options,&lt;BR /&gt;.hs-quotes--modern .contacts {&lt;BR /&gt;break-inside: avoid;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used it as a template and my css is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-21 at 11.12.39 AM.png" style="width: 398px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/110180i74F95D14FCE31667/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-02-21 at 11.12.39 AM.png" alt="Screenshot 2024-02-21 at 11.12.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there must be something in the hubspot code that is overriding my styling, but I can't seem to figure it out. Plus its nearly impossible to test, since you have to create a new quote and get it approved before the download link works, and I haven't found a way to preview a download. If anyone has an easier way to test or knows of some css class that might be mucking things up I'd appreciate the help!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 18:36:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/926650#M37963</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-02-21T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Edit CSS for Downloading Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/927767#M38006</link>
      <description>&lt;P&gt;Hi, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/695698"&gt;@JLittle2&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your question. Let's invite a few of our community members who have relevant experience — hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66301"&gt;@Bryantworks&lt;/a&gt;&lt;/SPAN&gt; &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/20261"&gt;@louischausse&lt;/a&gt;&lt;/SPAN&gt;, have you built anything similar recently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 22:21:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/927767#M38006</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-02-22T22:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Edit CSS for Downloading Quotes</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/932741#M38054</link>
      <description>&lt;P&gt;I don't know all the specifics but turns out you can't put&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt; print in the css file because the custom css file is compiled with the regular css file and all the media attributes are set to "screen". So, I just added a couple lines of css: &amp;lt;style&amp;gt; "@media print { ..."etc} &amp;lt;/style&amp;gt; to the html file and was able to change the download styles!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone else, because man was it was a headache for me.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 16:57:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/932741#M38054</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-02-26T16:57:42Z</dc:date>
    </item>
  </channel>
</rss>

