> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🧱 How to Add an App Block to a Theme Section

App blocks let you place an app's widget (for example a Hoppy widget) exactly where you want it inside a theme section. Unlike an app embed, which is a simple on/off switch for the whole store, an app block sits in a specific spot on a specific page 🧱

---

## **📋 Before You Begin**

* Your theme must be compatible with app blocks, and the section you choose must support them. If unsure, check your theme's documentation or ask your theme developer
* The app must provide an app block. Not every app does, some only provide an app embed
* If the block does not appear in the list, check **How to Enable Theme App Extension** first

---

## **🛠️ How to Add an App Block (Desktop)**

➡️ In the Shopify Admin, go to **Online Store**, then click **Edit theme** for the theme you want

➡️ Go to the page and section where you want the block (use the page selector at the top)

➡️ In the left sidebar, click **Add block**

➡️ In the drop-down, find the **Apps** section and select your app block, or use the **Search** bar

➡️ Optionally drag the move icon to reposition the block, and adjust its settings

➡️ Click **Save**

**Expected Result:** The app block appears in the section preview.

---

## **📦 Add the App as a Full Section Instead**

If the app should take a whole section (not a block inside another section), click **Add section** in the sidebar instead of **Add block**, then pick the app from the list.

---

## **📱 Shopify Mobile App**

➡️ Menu icon, then **Online Store** (under Sales channels)

➡️ **Manage all themes**, then **Edit theme**, then **Edit**

➡️ Go to the page and section, tap **Add block**, and choose the app block in the **Apps** section

➡️ Tap **Save** or the checkmark

---

## **⚠️ Important Notes**

* App blocks are theme-specific. If you switch themes, add the block again in the new theme
* App block settings in the editor only control placement and basic options. Campaign settings are managed inside the app itself
* Duplicate your theme first if you are working on your live theme, see **📋 How to Duplicate Your Theme Before Making Changes**

---

## **🔧 Troubleshooting**

**I cannot find the app under Apps in Add block**
The **Apps** section only appears when the selected section supports app blocks and a compatible app is installed. Try a different section, or use **Add section**.

**The block is added but nothing shows**
Make sure the app is set up and published inside the app, and that the app embed is enabled if the app requires it.

**Need help?**
Contact support via chat 💬

---

## **✅ Final Result**

✅ The app block is placed in your chosen section

✅ Changes are saved and visible on your storefront