Chof
Get the App

The Chof Badge for Jordi's

The badge links your site to your maker page on Chof: chof.nl/makers/jordi-s

Preview

Chof Badge - Outline variant

Choose a style

Embed code

This code is filled in for Jordi's. Copy it and paste it into your site's HTML.

Centred (recommended)
HTML
<div style="display: flex; justify-content: center; padding: 16px 0;">
  <a href="https://chof.nl/makers/jordi-s?ref=badge" target="_blank" rel="noopener" title="Jordi&#39;s on Chof">
    <img src="https://chof.nl/badges/chof-discover-outline.svg" alt="Jordi&#39;s on Chof" width="200" height="56" loading="lazy" decoding="async" />
  </a>
</div>

Puts the badge in the middle of its own row, with a little space above and below.

Plain
HTML
<a href="https://chof.nl/makers/jordi-s?ref=badge" target="_blank" rel="noopener" title="Jordi&#39;s on Chof">
  <img src="https://chof.nl/badges/chof-discover-outline.svg" alt="Jordi&#39;s on Chof" width="200" height="56" loading="lazy" decoding="async" />
</a>

Just the badge, for a spot your site already lays out, such as a footer column or an email signature.

Using Shopify? See the six steps

The link ends in ?ref=badge so Chof can count the visits that come in through your badge. Mail felipe@chof.nl and I tell you how many.

Where to place it

Your website

Add the badge to your footer, about page, or product pages to link visitors directly to your Chof profile.

Shopify & e-commerce

Add the badge to your store's footer or product page template. It links shoppers to your bars on Chof.

See the Shopify steps

Blog posts & press

Include the badge in articles, reviews, or online features that mention your chocolate.

Email signatures

Add the badge image to your email signature to give every conversation a link to your chocolate catalogue.

Shopify

Add the badge to your Shopify store

Six steps in the theme editor. They work on any theme that shows Add section under Footer: Dawn 8 and later, Horizon, and most themes from 2023 on.

  • About 5 minutes
  • No code editing
  • Shows on every page
  1. Step 1: Copy your code

    Go to your code. Pick Outline if your footer is light, or Light if it is dark. Then click Copy on Centred.

  2. Step 2: Open the theme editor

    In your Shopify admin, click Online Store. On the Themes page, next to your current theme, click Edit theme.

  3. Step 3: Add a Custom Liquid section

    In the sidebar, find the Footer area and click Add section under it. Choose Custom Liquid. Text and Rich text won't work, because they don't accept images or code.

  4. Step 4: Paste your code

    The section's settings open (on the right, on a wide screen). Paste your code into the Liquid code box, called Custom Liquid in older themes. Set Color scheme to the one your footer uses, so the two backgrounds match (in Horizon, set Background color). Set Top padding to 40 and Bottom to 0, so the badge gets room above it and sits close to your footer's links.

  5. Step 5: Check the placement

    The new section sits at the bottom of the page, under the footer. Drag it above Footer in the sidebar, so the badge is the first thing in your footer, not under the copyright line. Rather keep it under the footer? Set Top padding to 0 too. Click the phone icon in the top bar to see it on mobile.

  6. Step 6: Save and test

    Click Save. Open your store on your phone and tap the badge. It should open Jordi's's page on Chof, chof.nl/makers/jordi-s.

Simplified drawing. After adding the section, drag it above Footer in the sidebar (step 5). Your theme's labels may differ a little.

What it looks like when it's done

The badge sits centred at the top of your footer, on every page of your store.

Light footer: use the Outline badge.

No Add section under Footer?

Your theme predates Shopify's footer areas. For Dawn, that means before version 8 (February 2023).

Simplest, for Dawn: update your theme. On the Themes page, if Shopify shows an update for your theme, click Add to draft themes. Shopify makes a draft copy with your settings and content. Code changes, yours or an app's, come along only if they don't clash with the update; the draft's card says whether they were included. If they weren't, copy them into the draft, or ask whoever made them. Then click Review and check your pages, cart and apps still work before you publish it and follow the six steps above. Not ready for that? Use the code route below. An update doesn't add footer areas to Debut, Brooklyn or other older themes.

Or paste the code into your theme, to put the badge on every page. First make a backup: on the Themes page, click … next to your theme, then Duplicate. Then click …, then Edit code.

Dawn before version 8. Open sections/footer.liquid. Find the line with footer__copyright, paste your code on a new line just above it, and click Save. The badge sits in your footer, by the copyright line.

Any other older theme, such as Debut or Brooklyn. Open layout/theme.liquid. Find the line with </body> near the end, paste your code on a new line just above it, and click Save. The badge sits under your footer, on your page background, so pick the style that suits that colour.

With no code: on your home page only. Open the theme editor on your home page. Below its last section, click Add section, choose Custom Liquid, and follow steps 4 and 6. Debut, Brooklyn and other older themes don't offer Custom Liquid here.

Using a paid theme?

Many paid themes also have a Custom Liquid or Liquid block inside the footer: click Footer, then Add block. Paste the Plain code there to put the badge in a footer column, lined up with your links.

Something not working?
You see the code as text, or nothing at all
It went into a Text or Rich text block. Delete that block and add a Custom Liquid section instead.
It isn't on your live store
Click Save. If you edited a draft theme, publish it too.
The badge is hard to see
Switch style. Outline suits light footers, Light suits dark ones.
A thin line shows between the badge and your footer
Dawn draws it above a footer in its first, light color scheme. It's fine to keep. If you'd rather not, drag the badge under Footer and set Top padding to 0.
The badge sits against the left edge
Copy Centred again from this page. That code centres itself; Plain and older copies of the code don't.

Still stuck? Email us your store address and we'll take a look.

Usage guidelines

  • Use the badge as-is. Don't modify the colours, shape or text.
  • Keep the badge linked to your actual Chof maker page.
  • Give the badge enough breathing room. Avoid crowding it with other elements.
  • Choose the variant that contrasts best with your site's background.