Sari la conținut
Ajutor
Constructor

How do I add a button and link it to a page, an email, a phone number, or a section?

Settings of the Button block in the hero, slideshow slides, Image with text, the thanks, 404, and 403 pages, and their groups: label, link type (URL, email, phone, or anchor), link, style, and desktop and mobile width.

2 minute de citit

The Button block is a call to action, such as "Shop now" or "Call us". It is a block, not a section, so it always sits inside a section.

Where you can add one

In the Hero, each Slide of a slideshow, Image with text, Order confirmation on the thanks page, the 404 and 403 sections, and the groups inside them. Each of these takes up to 2 buttons. In the builder, select the section, click Add new block, and pick Button.

Some sections draw buttons of their own, with other settings: the order form, the product card, the collection card, the newsletter, and the contact form. Those are explained in their own section's article.

Settings

  • Label: the button text, up to 100 characters. An empty label hides the button.
  • Link type: what the button opens.
    • URL: a page of your store or another website, for example https://example.com/collections, or just the path, like /collections.
    • Email: opens a new email to the address you type, for example name@example.com.
    • Phone: starts a call to the number you type, for example +1234567890.
    • Anchor: jumps to an element of the same page that carries this id, for example one you wrote in a Custom code section. Type the id without the #.
  • Link: the address, email, number, or id. With no link, the button shows but opens nothing.
  • Style: Primary (filled), Secondary (outlined), or Link (plain text). The colors come from the button colors of the color scheme.

Desktop width and Mobile width

Each has its own Width: Fit keeps the button as wide as its text, Custom sets a Custom width in percent. A wide button on phones is easier to tap, so you can keep Fit on computers and use Custom 100% on mobile.

Recipes

Good to know

  • The button colors look wrong: change the primary or secondary button colors of the scheme. See Color schemes.
  • The link is refused: check that it matches the link type, for example an email address with Email, or digits with Phone.

Mai ai nevoie de ajutor?

Scrie-ne și îți vom răspunde.

Contact