Grid Theme Integration - CTB

Step 1: Select the placeholder option in CTB

  1. Select the last option under the "position" setting in the bar configuration in the App
  2. Scrolling to the very end, and click the "Save" button to save the change

Step 2: Add the bar

  1. Go to Admin > Online Store > Themes
  2. Click the "Actions" button on the right-hand side, and select "Edit code"
  3. Find header.liquid from the left-hand side file list and open it
  4. Find <header
  5. Add the following code before it, and save the changes.
<div id="ctb_placeholder"></div>

 

Step 3: Add CSS

  1. Find theme.scss.liquid from the left-hand side file list and open it
  2. 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.