# Basic Bubble Marketing Page

## Overview

This page includes 3 marketing blocks built with Bubble elements. You can add more marketing blocks to the page by opening the Canvas extension > going to Blocks > Filtering on marketing blocks.

## Structure

* **Page** \
  You can easily change the page background to one of our free svg backgrounds. <br>
* **Group Main hero blocks**\
  This is the first block that users will see when they visit your website. This section should summarize what your website is about in a few sentences and include call to action buttons. This block includes a **Group Collapsible Standard SearchBar** that you can unhide by checking the box for '*This element is visible on page load'*.

  ![](/files/IWDeEKEo5Qdgkxj82qs3)
* **Group Main 2 column feature blocks**\
  This is block allows you to feature a list of items. Each item includes an icon, title, and description.

  ![](/files/B5bX8ca0GLMkCVMjUuPd)
* **Group Main call to action block**\
  This block features a centered description text and two buttons.\
  ![](/files/RbP9Cj1OTlaCtyUbKkMR)

This page also includes a popup and a reusable element:

* **Popup Hidden Variables** contains four groups:
  * **var - app settings**\
    This group stores the app settings object (e.g., app name, primary color, and etc.)
  * **var - marketing page id (do not delete)**\
    This allows the Canvas extension to identify the page as a marketing page and to filter the extension blocks to show only marketing blocks
  * **var - app variables**\
    This group stores the app variables object
  * **var - dummy**\
    A placeholder group in case you want to use any hidden variable groups later.
* [Header](/canvas/5.2/canvas-functionality/reference/reusable-elements/header.md)
* [Footer](/canvas/5.2/canvas-functionality/reference/reusable-elements/footer.md)

## How to set up

#### Changing your page background

* By default, the page will come with a few placeholder conditional statements. You should save the SVG backgrounds here for later use.

  \
  &#x20;<img src="/files/Q7oFXJwp8KCb4vBF1dsW" alt="" data-size="original">&#x20;

* To use one of these backgrounds, simply toggle to the 'Appearance' tab and copy and paste the image settings from the 'Conditional' tab over.

  \
  &#x20;<img src="/files/Iuhubr2Plhx8Cy2308IX" alt="" data-size="original">&#x20;

* To change the colors in the svg background, you would need to have a program that supports this format (e.g., Sketch app or Adobe illustrator).

#### &#x20;Updates to older versions of the template

* Please check your Canvas Base Template version by going to your Bubble editor > Data tab > App data tab > All websites table > Click to view the website entry and the **Template version** field. If your template version is not 3.3.3 or later then please add the following state and workflows:
  * Go to the **header** reusable and add a custom state called '*Remove background?*' (yes/no)

    ![](/files/Oc13NjV05dPOmARlcgBq)

  * Select **Group Header** and make the following changes to the conditional tab:\
    Add a new conditional *when header's Remove background? is "yes" then change background color opacity to 0 and set boxshadow style to "None"*.\
    Modify the conditional statement *when Current page scrolling position > 0* by adding *and header's Remove background? is "no"*.

    ![](/files/OqzWah4YsSkKoRJg7e9e)

#### Show or hide a block

* To show or hide a block, simply click on the main group and check or uncheck the box for '*This element is visible on page load'*.<br>

  <img src="/files/yGWHK2SR19DS718EbyGV" alt="" data-size="original"><br>
* Update the data source of repeating groups in the features list blocks
* Update the image and text content in the blocks and add workflows to buttons


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airdev.co/canvas/5.2/canvas-library/page-templates/basic-bubble-marketing-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
