Step 1: Select the placeholder option in CTB
- Select the last option under the "position" setting in the bar configuration in the App
- Scrolling to the very end, and click the "Save" button to save the change
Step 2: Add the bar
- Go to Admin > Online Store > Themes
- Click the "Actions" button on the right-hand side, and select "Edit code"
- Find header.liquid from the left-hand side file list and open it
- Find <header
- Add the following code before it, and save the changes.
<div id="ctb_placeholder"></div>
Step 3: Add CSS
- Find theme.scss.liquid from the left-hand side file list and open it
- Add the following code at the very end of the file, and save the changes.
#epb_background {z-index:999 !important;}
Enjoy the bar
Congratulations. You successfully integrate the bar with your theme.
If you cannot see the bar yet. Please double check Step 1 and make sure you save the settings.