<?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: Edit CSS for Downloading Quotes in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/927027#M37974</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;, I hope that you are well.&lt;BR /&gt;&lt;BR /&gt;I have moved your post in the Developers Forum so that you can get help from HTML/CSS experts!&lt;BR /&gt;&lt;BR /&gt;I'd like to invite a couple of subject matter experts to this conversation: 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/299246"&gt;@elizheleva&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/363300"&gt;@Jnix284&lt;/a&gt;&lt;/SPAN&gt; and &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/91608"&gt;@alyssamwilie&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &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;, please?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Also, if anybody else has anything to add and/or share, please feel free to join in the conversation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot and have a fabulous day!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 08:21:04 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2024-02-22T08:21:04Z</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/926662#M37973</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 19:01:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/926662#M37973</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-02-21T19:01:53Z</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/927027#M37974</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;, I hope that you are well.&lt;BR /&gt;&lt;BR /&gt;I have moved your post in the Developers Forum so that you can get help from HTML/CSS experts!&lt;BR /&gt;&lt;BR /&gt;I'd like to invite a couple of subject matter experts to this conversation: 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/299246"&gt;@elizheleva&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/363300"&gt;@Jnix284&lt;/a&gt;&lt;/SPAN&gt; and &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/91608"&gt;@alyssamwilie&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &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;, please?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Also, if anybody else has anything to add and/or share, please feel free to join in the conversation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot and have a fabulous day!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 08:21:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/927027#M37974</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2024-02-22T08:21:04Z</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/932744#M38055</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;&lt;BR /&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:59:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Edit-CSS-for-Downloading-Quotes/m-p/932744#M38055</guid>
      <dc:creator>JLittle2</dc:creator>
      <dc:date>2024-02-26T16:59:25Z</dc:date>
    </item>
  </channel>
</rss>

