How do I place the bar visually in theme customization? (QAB)

Please watch our video tutorial here:



If you prefer a step-by-step guide please proceed below:


Please note that if you are not using a Shopify 2.0 theme, you might not be able to add a section to certain pages.



First, ensure that the bar is in fact set to manual placement in the app's dashboard:

Screen_Shot_2022-03-24_at_3.20.23_PM.png


Next enter the theme's Customize section. For that click on:

1) Online Store

2) Themes

3) Customize

Screen_Shot_2022-06-07_at_1.29.17_PM.png


And on the left, you can click on Add section:

Screen_Shot_2022-03-24_at_3.39.36_PM.png


Scroll the the bottom of that list until get to a section called Apps. Among the list of apps, you'll find Quick Announcement Bar:

Screen_Shot_2022-06-07_at_1.32.39_PM.png


Click on it to add it to your page. It will then be at the bottom of the sections.

Screen_Shot_2022-06-07_at_1.34.39_PM.png




Now you can use the dotted tab to move the bar around in the layout:


Screen_Shot_2022-06-07_at_1.35.46_PM.png

You may find yourself trying to drag the bar by grabbing the dotted tab for the QAB Custom Placement block. But that won't work. You need to grab and move the dotted tab of the Apps element.

Screen_Shot_2022-06-07_at_1.38.08_PM.png


Screen_Shot_2022-06-07_at_1.39.41_PM.png

And you should be able to see the bar that has been prepared in the app configuration rendered into the preview window:

Screen_Shot_2022-06-07_at_1.17.47_PM.png



If you click on the section, you'll see that there are no customizable settings. All the settings are still set in the app. But this allows you to place the bar in your theme more easily.



If you want the bar to occupy the entire width of the page (you'll notice the bar doesn't quite go edge to edge), you would take a different approach. Rather than adding a section as we've done, you would add custom liquid code.

Screen_Shot_2022-06-08_at_5.32.23_PM.png


This new section will load at the bottom of the page. When you click into it, there will be an empty box. In there is where you will place this code:

<div id="qab_placeholder"></div>

Screen_Shot_2022-06-09_at_2.52.11_PM.png


Then Save (top right) and the bar will then load and go from edge to edge.

Screen_Shot_2022-06-09_at_2.53.25_PM.png


You can move it around with the dotted tab.

Screen_Shot_2022-06-09_at_2.54.01_PM.png


You can follow these same steps on other pages.


So far we've been placing the bar as its own section. But you can place the bar as a block inside another section. For that example we'll switch over to the product page. In the top drop down click in and select Products, then Default product.

Screen_Shot_2022-06-08_at_5.42.32_PM.png

Screen_Shot_2022-06-08_at_5.43.17_PM.png


The product page will load. We're going to focus on the section called Product information. You can see all of the components that make up that section. We can add our bar to that by adding a block.


Screen_Shot_2022-06-09_at_2.02.00_PM.png


At the bottom of the section in the menu, click Add block. Just as before, select the CTB Custom Placement block.

Screen_Shot_2022-06-09_at_2.02.34_PM.png


It will then appear at the bottom of the section. Now you can use the dotted tab directly next to the bar to drag it up. 

Screen_Shot_2022-06-09_at_2.57.22_PM.png



You can place it just above the buy buttons if you like.

Screen_Shot_2022-06-09_at_2.59.44_PM.png


You can use the same method to place the bar in the cart page:

Screen_Shot_2022-06-09_at_3.01.29_PM.png

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.