{"id":18056,"date":"2023-03-22T02:07:44","date_gmt":"2023-03-22T06:07:44","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=18056"},"modified":"2026-01-23T15:27:28","modified_gmt":"2026-01-23T20:27:28","slug":"how-to-create-a-floating-bar-optin","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-create-a-floating-bar-optin\/","title":{"rendered":"How to Create a Floating Bar Campaign"},"content":{"rendered":"\n<p>OptinMonster makes it easy to create and display a Floating Bar campaign on your site. Convert subscribers without interrupting their browsing experience, displaying your campaign at the top or bottom of the browser window.<\/p>\n\n\n\n<p>In this article, you will learn how to create a Floating Bar campaign.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create\">Create a Floating Bar Campaign<\/h2>\n\n\n\n<p>To create a Floating Bar campaign, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the&nbsp;<a href=\"https:\/\/app.optinmonster.com\/campaigns\" target=\"_blank\" rel=\"noopener\" title=\"\">Campaigns<\/a> screen, select the <strong>Create New Campaign<\/strong> button.<br><img decoding=\"async\" width=\"800\" height=\"713\" class=\"alignnone size-full wp-image-164069\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign.jpg\" alt=\"Select the Create New Campaign button to get started in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign-300x267.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-new-campaign-768x684.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>From the modal, select&nbsp;<strong>Templates<\/strong>&nbsp;as the type of campaign you\u2019d like to create.<br><img decoding=\"async\" width=\"800\" height=\"505\" class=\"alignnone size-full wp-image-169370\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal.jpg\" alt=\"Select Templates from the popup modal to begin selecting a campaign template in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal-300x189.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/templates-selection-modal-768x485.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>On the next screen, select <strong>Floating Bar<\/strong> as the campaign type.<br><img decoding=\"async\" width=\"800\" height=\"527\" class=\"alignnone size-full wp-image-164389\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-floating-bar-campaign.jpg\" alt=\"Select Floating Bar as the campaign type\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-floating-bar-campaign.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-floating-bar-campaign-300x198.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/create-floating-bar-campaign-768x506.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>You can filter, sort, and search from available Floating Bar campaign templates.<br><img decoding=\"async\" width=\"800\" height=\"419\" class=\"alignnone size-full wp-image-169426\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-floating-bar-templates.jpg\" alt=\"Filter and search Floating Bar templates.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-floating-bar-templates.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-floating-bar-templates-300x157.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/filter-floating-bar-templates-768x402.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Hover over any template in the list to <strong>Preview<\/strong>&nbsp;or&nbsp;<strong>Use Template <\/strong>to select it and open the campaign builder.<br><img decoding=\"async\" width=\"800\" height=\"424\" class=\"alignnone size-full wp-image-169425\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-use-floating-bar-template.jpg\" alt=\"Preview or use a Floating Bar template in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-use-floating-bar-template.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-use-floating-bar-template-300x159.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/preview-use-floating-bar-template-768x407.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Once you&#8217;ve selected a campaign you&#8217;ll be prompted to give it a name and assign it to a site in your account.<br>Select the&nbsp;<strong>Start Building<\/strong> button to create the campaign and open it in the builder to customize.<br><img decoding=\"async\" width=\"800\" height=\"814\" class=\"alignnone size-full wp-image-169424\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/name-assign-floating-bar.jpg\" alt=\"Name and assign the new Floating Bar campaign.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/name-assign-floating-bar.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/name-assign-floating-bar-295x300.jpg 295w, https:\/\/optinmonster.com\/wp-content\/uploads\/2022\/03\/name-assign-floating-bar-768x781.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>You can now configure and customize your campaign in the builder, be sure to <strong>Save<\/strong> the changes as you work.<br>Just getting started? <a href=\"https:\/\/optinmonster.com\/docs\/getting-started-with-optinmonster-checklist\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Follow our guide here<\/a> to customize your campaign, or <a href=\"https:\/\/optinmonster.com\/demo\/\" target=\"_blank\" rel=\"noopener\" title=\"\">join a demo<\/a>!<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Reposition Campaign<\/h2>\n\n\n\n<p>By default, Floating Bar campaigns appear on the bottom of the page. You can reposition the Floating Bar campaign to show at the top of the page on your site.<\/p>\n\n\n\n<p>To reposition the Floating Bar, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the campaign builder, select the <strong>Settings<\/strong> icon.<br><img decoding=\"async\" width=\"800\" height=\"520\" class=\"wp-image-202860\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings.png 2520w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings-300x195.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings-1024x666.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings-768x499.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings-1536x998.png 1536w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/settings-2048x1331.png 2048w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, from the&nbsp;<strong>Basic<\/strong> tab expand&nbsp;the <strong>Floating Bar Settings<\/strong> option and toggle the <strong>Load Floating Bar at top of page?<\/strong> option and the campaign will automatically move to the top of the page.<br><img decoding=\"async\" width=\"800\" height=\"520\" class=\"wp-image-202861\" style=\"width: 800px;\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar.png 2520w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar-300x195.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar-1024x666.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar-768x499.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar-1536x998.png 1536w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/03\/floatingBar-2048x1331.png 2048w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished, click&nbsp;<strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">FAQs<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Can I reposition the Floating Bar campaign?<\/h5>\n\n\n\n<p>Yes, <a href=\"https:\/\/optinmonster.com\/docs\/how-to-reposition-the-floating-bar-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">follow our guide here to reposition the Floating Bar campaign<\/a>.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"push-content\">My Floating Bar campaign is sitting on top of the header \/ navigation of my site instead of pushing it down.<\/h5>\n\n\n\n<p>The default behavior for the Floating Bar campaign is to push the page content down when the campaign is positioned at the top of the browser.<\/p>\n\n\n\n<p>If you&#8217;re seeing the Floating Bar overlay your page content instead of at the top, it&#8217;s likely that your site&#8217;s theme or styling is interfering with the natural behavior of the campaign. For example, if your site has a sticky header or navigation bar this can result in the campaign overlaying that sticky header or navigation bar.<\/p>\n\n\n\n<p>This can be addressed by adding the following Javascript code directly to your site. Be sure to update the code as mentioned in the comments:<\/p>\n\n\n\n<script src=\"https:\/\/library.wpcode.com\/embedjs\/e50x04r5.js\/\"><\/script>\n\n\n\n<p>If you\u2019d prefer not to target a single campaign by slug, you can make this behavior apply automatically to all Floating Bar campaigns positioned at the top of the page.<\/p>\n\n\n\n<script src=\"https:\/\/library.wpcode.com\/embedjs\/do1zqw05.js\/\"><\/script>\n\n\n\n<p>This is especially useful if you plan to run multiple Floating Bar campaigns or want a future-proof solution without needing to update the code for each new campaign.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"push-content\">How To Prevent the Floating Bar from Scrolling Down along with Scrolling Webpage<\/h5>\n\n\n\n<p>Just add this <a href=\"https:\/\/optinmonster.com\/docs\/how-to-use-optinmonsters-custom-css-tool\/\" target=\"_blank\" rel=\"noopener\" title=\"\">CSS snippet to the campaign <\/a>to achieve this:<\/p>\n\n\n\n<script src=\"https:\/\/library.wpcode.com\/embedjs\/y266jv62.js\/\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to create and display a Floating Bar campaign on your site. Convert subscribers without interrupting their browsing experience, displaying your campaign at the top or bottom of the browser window. In this article, you will learn how to create a Floating Bar campaign. Create a Floating Bar Campaign To create a&nbsp;&hellip;<\/p>\n","protected":false},"author":7338,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[28200],"documentation\/tags":[31399,31497,31402,31411,31401],"class_list":["post-18056","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-campaign-types"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/18056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/7338"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=18056"}],"version-history":[{"count":27,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/18056\/revisions"}],"predecessor-version":[{"id":210019,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/18056\/revisions\/210019"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=18056"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=18056"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=18056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}