<?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: Adding a fixed strip on LPs in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/443753#M23450</link>
    <description>&lt;P&gt;I have a few questions in order to make a definitive recommendation.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is your website and blog on the same HubSpot account?&lt;/LI&gt;
&lt;LI&gt;Do your landing pages share a global javascript file? Or are they a mixture (marketplace templates and custom templates)?&lt;/LI&gt;
&lt;LI&gt;Are these templates drag and drop or code based?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 13:19:07 GMT</pubDate>
    <dc:creator>Jake_Lett</dc:creator>
    <dc:date>2021-06-03T13:19:07Z</dc:date>
    <item>
      <title>Adding a fixed strip on LPs</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/443595#M23441</link>
      <description>&lt;P&gt;We have several LPs for various templates (some HTML + HUBL some were made via the editor).&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to add a fixed strip with some CTA text to all of the LPs. Is there a global way to do it, or do we need to add id for each template or each LP?&lt;/P&gt;&lt;P&gt;Will modifying an existing template won't cause any issues with the pages based on it?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 07:08:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/443595#M23441</guid>
      <dc:creator>doroness</dc:creator>
      <dc:date>2021-06-03T07:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a fixed strip on LPs</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/443753#M23450</link>
      <description>&lt;P&gt;I have a few questions in order to make a definitive recommendation.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Is your website and blog on the same HubSpot account?&lt;/LI&gt;
&lt;LI&gt;Do your landing pages share a global javascript file? Or are they a mixture (marketplace templates and custom templates)?&lt;/LI&gt;
&lt;LI&gt;Are these templates drag and drop or code based?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:19:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/443753#M23450</guid>
      <dc:creator>Jake_Lett</dc:creator>
      <dc:date>2021-06-03T13:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a fixed strip on LPs</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/444412#M23510</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;1. No&lt;/P&gt;&lt;P&gt;2. A&lt;SPAN&gt;&amp;nbsp;mixture - mainly custom&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. A mixture&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jun 2021 05:27:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/444412#M23510</guid>
      <dc:creator>doroness</dc:creator>
      <dc:date>2021-06-06T05:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a fixed strip on LPs</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/444457#M23511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/60799"&gt;@doroness&lt;/a&gt;&amp;nbsp;based on your reply I have two options you can choose from.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a global module that you manually add to all of your templates.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://knowledge.hubspot.com/cos-general/how-can-i-add-code-snippets-to-the-head-and-footer-html-of-my-pages" target="_blank" rel="noopener"&gt;Add some javascript to your footer site settings&lt;/A&gt; to apply code to your entire site. This is a hammer approach but can work if you are good with javascript and can create rules around when your code fires. Below is an example script.&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;window.addEventListener('load', &lt;BR /&gt;function() { &lt;BR /&gt;$('&amp;lt;div id="notice" style="text-align:center;position:fixed;top:0;background:#ccc;width:100%;padding:0.5rem;"&amp;gt;This is a global notice&amp;lt;/div&amp;gt;').prependTo('body');&lt;BR /&gt;$( "body" ).css('padding-top',$( "#notice" ).height() );&lt;BR /&gt;}, false); &lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 06 Jun 2021 17:36:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-a-fixed-strip-on-LPs/m-p/444457#M23511</guid>
      <dc:creator>Jake_Lett</dc:creator>
      <dc:date>2021-06-06T17:36:12Z</dc:date>
    </item>
  </channel>
</rss>

