> ## 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).

# 🎨 Frequently Bought Together — Design & Styling

Make your Frequently Bought Together widget look like it was built into your theme! 🎨

The **Design** tab gives you control over layout, colors, fonts, buttons and spacing. Every change updates the live preview on the right, which you can switch between **Desktop Preview** and **Mobile Preview**.

---

## 📍 Where to Find It

➡️ Open your offer in the app
➡️ Click the **Design** tab (or click **Continue to Design** at the bottom of the **Content** tab)

---

## 🧱 Layout and Orientation

* **Layout** — choose from **Default**, **Amazon**, **Classic**, **Compact** or **Stack**
* **Orientation** — **Horizontal** or **Vertical**

Try combinations and watch the preview. The widget is shown at a maximum width of 600px and centered.

---

## 🖼️ Background and Product Card

* **Background** — choose **Single color** (pick one color) or **Gradient** (pick two colors and a **Gradient angle degree** from 0 to 360)
* **Product Card → Background** — the background color of each product card

---

## 📏 Spacing

Four values: **Inside top**, **Inside bottom**, **Outside top**, **Outside bottom**. Inside spacing is the padding within the widget; outside spacing is the gap around it.

---

## 🔤 Typography

* **Font family** — **Use your theme font** or pick from a list of fonts such as Helvetica, Arial, Georgia, Roboto, Montserrat, Poppins, Inter and many more
* Size and color for each element:
  * **FBT Title**
  * **FBT Description**
  * **Discount Message**
  * **Product Title**
  * **Price**
  * **Compare at price**
  * **Total price**
  * **Arrow** (size and color)

---

## 🔘 Buttons

* **Button text size**
* **Add to cart button color** and **Add to cart button text color** (only when **Add to cart button** is on)
* **Buy now button color** and **Buy now button text color** (only when **Buy Now button** is on and the offer is not a cart page or cart drawer offer)
* **Corner radius**
* **Button style** — **Square**, **Rounded** or **Fully rounded**
* **Font weight** — **Inherit** or 100 to 900
* **Font style** — **Normal**, **Italic** or **Underline**

---

## 🎚️ Selectors

* **Quantity selector** — **Border radius**, **Background color**, **Text color**, **Border color** (only when **Quantity selector** is on)
* **Variant selector** — **Border radius**, **Background color**, **Text color**, **Border color**

---

## ⏱️ Countdown Timer

When **Countdown timer** is on in the **Content** tab, a **Countdown Timer** section appears with **Timer size**, **Timer text color** and **Timer background color**.

---

## 🎯 Color Rules

Each color can be picked from its swatch or typed as a hex code, such as `#FFFFFF`. Many color fields are checked when you save. If a value is not valid, you see an error such as "FBT Total Price Color must be a valid hex code" (the field name changes) and the offer is not saved until you fix it.

---

## 💾 Save Your Changes

➡️ Click **Save** in the save bar at the top. Published offers update on your store after saving.

---

## ⚠️ Important Notes

* 🧩 Some controls only appear when the matching feature is on (countdown, add to cart button, Buy Now, quantity selector)
* 📱 Check both **Desktop Preview** and **Mobile Preview** before saving
* 🪄 If the widget picks up odd fonts or sizes from your theme, set **Font family** and sizes explicitly
* 🔁 If the storefront does not match the preview after saving, hard refresh the page. See **🔧 Frequently Bought Together Not Showing on My Store [Fixed]** if it does not show at all.

---

## 🎉 Final Result

A Frequently Bought Together widget that matches your brand and feels native to your store. ✨