Skip to main content

Public page buttons

How to add buttons to your public page

Anni avatar
Written by Anni
Updated over a month ago

Buttons on your public page are useful for linking to other relevant web pages without displaying messy URLs. They provide a clean and user-friendly way for customers to navigate to additional resources or pages related to your events.

This article covers:


Adding a button to your public page

Buttons display at the top of your public page, in the General information area. For example:

Public page with an arrow pointing at a blue 'Instagram' button


​Linking buttons to relevant pages

Each button needs a destination URL to link through to, so make sure you have the correct URL ready.


Understanding button code

Each button code can be broken down into sections. Here's an example of the code used to create a blue Instagram button:

<div class="view_button">

<a class="small button success" href="https://www.instagram.com/bookwhen/ "> Instagram</a>

</div>

Let's break that down:

  • class="view_button": This defines the button's shape.

  • <a class="small button success": This defines the button's colour; you can replace this with another colour.

  • href="https://www.instagram.com/bookwhen/": This is the link the button will direct to.

  • >Instagram</a>: This is the text displayed on your button. For example, you could change this to >Visit our website</a>.
    ​

πŸ’‘ Important: The code must be in this specific order to work correctly.


Where to add the button code

Once you've created your button code:

  1. Open your Scheduling page and select View public page to open your public page:

    Scheduling page with an arrow pointing at the 'View public page' button

  2. Select Customise page from the top right-hand corner:

    Public page with an arrow pointing at 'Customise page'

  3. Scroll down and paste the code(s) into the General information field:

    Customise page settings with an arrow pointing at the 'General information' field

  4. Select Save header text when you have finished editing, and refresh the public page to view the result.

πŸ’‘ Important: When pasting the button code into the page field, ensure you're not pasting any formatting from another tool (e.g., Microsoft Word). To avoid unwanted formatting, we recommend using the 'Paste and Match Style' option. This ensures the code remains clean and functions as intended.


Different button colours

You can choose from the following button colours:

The codes for each colour:

Blue button

<a class="small button"

Green button

<a class="small button success"

Light blue button

<a class="small button info"

Grey button

<a class="small button secondary"

Orange button

<a class="small button warning"

Red button

<a class="small button alert"


Additional formatting options

Alongside the colour options, you can also:


Using emojis on your buttons πŸ’šβ­οΈπŸ•ΊπŸš€βœ¨

You can add emojis to your buttons, for example:

"πŸ’™ Online classes"

Public page showing buttons with yellow, blue and purple heart emojis in them

To do this, add the emoji to the > your text </a> part of the code. For example:

Button code example with the &gt; blue heart Instagram  section highlighted


Spacing your buttons:

You can use the code </p> to create a line break if you want to stack your buttons vertically.

For example:

<div class="view_button">

<a class="small button success" href="https://www.instagram.com/bookwhen/ "> Instagram</a>

</div>

</p>

<div class="view_button">

<a class="small button success" href="https://www.facebook.com/bookwhenhq/"> Facebook</a>

</div>

Public page example:

General information section of the public profile with an arrow pointing at the  code located between two button codes


Making your buttons mobile-friendly

You may find that if you have multiple buttons, they don't wrap/stack nicely on a smaller screen. For example:

Buttons with the days of the week on them overlapping

To avoid this issue, add the following line to your button code:

  • style="margin-bottom: 10px;"


​For example:

Code example with an arrow pointing at the style="margin-bottom: 10px;" part of the code

This will result in more evenly spaced buttons:

Button examples showing the days of the week and even spacing


πŸ’¬ Any questions or feedback? There are two ways to get in touch:

Thank you! πŸ•Ί

Return to the top ⬆️

Did this answer your question?