# Free Bubble Marketing Page

## Overview

This page recreates all the free blocks in the Canvas marketing page builder. All of the content blocks are built with Bubble elements instead of static html and css. \
\
This marketing page is ideal for users who:\
a) Cannot use the Canvas marketing page builder because they are not on a paid Bubble plan \
b) Want to be able to customize the marketing page by adding custom designs\
c) Want to link content blocks to database objects

## Structure

When this page is added to your app, it will include **16 pre-built marketing blocks:**

* **Page** \
  You can easily change the page background to one of our free svg backgrounds.<br>
* **Group Main left-justified 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'*.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FkWcotQTv96HY75Q0MVk3%2Fm1.png?alt=media\&token=f8f99c2d-d1eb-4ce1-9a7a-afb25a3f0df6)
* **Group Main centered hero with long text**\
  Use this hero block when you have longer heading and subheading.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F9VnRnfMEwv6VTX4psiQs%2Fm2.png?alt=media\&token=616a4993-d541-41a5-9e3c-912ca65ddd53)
* **Group Main right-justified about block** and **Group Main left-justified about block**\
  This is a content block that allows you to feature a title, an image, and a list of four items.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F74NdMsiRydX6T238gWCL%2Fm3-1.png?alt=media\&token=09062c2c-62f9-4551-b3b7-bb7ea483a29b)     ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FwnkbsLNXvllLiYiUIr6q%2Fm3-2.png?alt=media\&token=8de778f4-f33b-44a1-a06a-0f8f0f13ab39)
* **Group Main right-justified text and image block** and **Group Main left-justified text and image block**\
  This block allows you to feature some text content, an image, and a call to action button.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FRwwxyVWsG1OW3a5HyjsJ%2Fm4-1.png?alt=media\&token=4f6badaa-6820-4114-b5e7-ce3038ece7ff)![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FumtBt2E0IWCU0FmVjaFa%2Fm4-2.png?alt=media\&token=154cb6b1-5669-407e-8477-72f6e6b3c054)
* **Group Main right-justified content list block** and **Group Main left-justified content list block**\
  This is a content block that allows you to feature an image, title, description, and a list of texts.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F1UM8wiMkVyaiz455EQ7K%2Fm5-1.png?alt=media\&token=14d11fab-35f5-47b8-8c7c-7d6d806afddc)  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FlKsgJLO4b74U8cSUyCu8%2Fm5-2.png?alt=media\&token=aba58530-f285-43a9-8b2b-dd283fad11e6)
* **Group Main left-justified text content**\
  This block allows you to feature multiple lines of text and a bulleted list of text.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FQxFMj02pC8ZTX2LGShaE%2Fm6.png?alt=media\&token=d7ea59c1-f996-4a0c-82d5-3e953ef10cb9)
* **Group Main centered text block**\
  This block allows you to feature multiple lines of centered text and a bulleted list of text.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FXEVdBujoVu5Mmg9z4wuP%2Fm7.png?alt=media\&token=05c6d275-77de-4747-9b06-8f00d4911e06)
* **Group Main 4-column feature blocks**, **Group Main 3-column feature blocks**, **Group Main 2-column feature blocks**, and **Group Main 1-column feature blocks**\
  This is block allows you to feature a list of items. Each item includes an icon, title, and description.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F6AhJ6LBFS3Ypo8FlqfXB%2Fm8-1.png?alt=media\&token=c558b23c-57d4-4c2c-b4db-4838c0078ca9)![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FY9EDbXcvKHZcm0ICiHaU%2Fm8-2.png?alt=media\&token=0903527a-d29b-4195-b4c3-291eca8afd84)

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FVD7h1xHVXV8iqgs4uo8Y%2Fm8-3.png?alt=media\&token=971990af-9148-471b-847c-9f994d69b553)![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FMtc52iEiHWcENU6VOokA%2Fm8-4.png?alt=media\&token=ece0bb1f-f7fa-43f8-b253-bd3a3d2d25ce)
* **Group Main html embed**\
  This block allows you to include a title and add your own custom embed code. For demo purposes, we included a video embed.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FO8lWKqPLsmIufphKYDYz%2Fm9.png?alt=media\&token=29d15304-e64e-40c3-8404-685aeb7df92f)<br>
* **Group Main call to action block**\
  This block features a centered description text and two buttons.

  ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FEErfluF38Fb8wkYYymXq%2Fm10.png?alt=media\&token=cc490b8d-524b-44c3-a376-79c0f4114c54)

This page also includes a popup and a reusable element:

* **Popup Hidden Variables** contains two groups:
  * **var - Website object**\
    This group stores the website object (e.g., app name, primary color, and etc.)
  * **var - dummy data**\
    A placeholder group in case you want to use any hidden variable groups later.
* [**header**](https://docs.airdev.co/canvas/canvas-functionality/reference/reusable-elements/header)

## 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="https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2Fgb2FvDyNRNW5bHFUI2CQ%2Fb1.png?alt=media&#x26;token=51edee9f-ceea-4037-8c22-2448c4279493" 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="https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FcMLonolA1vIDEEgoFHl9%2Fb2.png?alt=media&#x26;token=83a72689-c596-415c-a58a-1be97da9965c" 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)

    ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F59CnWkK2nACgsgzJS7lO%2Fb3.png?alt=media\&token=9c41ac14-ec7a-45f0-967b-790f3f742355)

  * 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"*.

    ![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FF0VCp9JSscyiJLaN1Q66%2Fb4.png?alt=media\&token=e6e069ec-4c28-4aa9-b5f6-8da7a144d306)

#### 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="https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FaKwREvQ3q5yhDTIziGbz%2Fb5.png?alt=media&#x26;token=fbbc773a-1019-4280-a738-5dd46e961b52" 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

{% hint style="info" %}
All of the blocks are fully responsive. Please refrain from moving things out of their container groups as this would affect responsiveness. To add additional elements to a block, resize **Group Placeholder** and make sure it is not overlapping with any other elements.
{% endhint %}
