For Webmasters

Everything you need to set up a My Fuel Dock price board on a marina's website.

Getting started

1

Marina creates an account

The marina operator signs up at myfueldock.com/register with their marina name, email, city, and state.

After email verification, they land on the Dashboard where they enter fuel prices and configure their price board.

2

Marina configures the price board

In the portal, the marina sets fuel types, enters prices, and picks a board template. Scroll down to see all the boards in action, with their sizes.

Free accounts get one template:

  • Free Board: Vertical price list with default colors and a “Powered by myfueldock.com” footer.

Paid accounts unlock eight premium templates with custom colors and custom branding:

  • Standard Board: Vertical price list with optional location, payment, hours, and discount details.
  • Banner: Resizable horizontal strip with an optional responsive mode.
  • Sidebar: Resizable vertical strip that stacks the title, prices, and optional details.
  • Minimal: Plain-text fuel names and prices with no chrome; pick the font, size, and color.
  • Hero: Tall full-width focal section with big prices and an optional photo background.
  • Mobile Sticky Bar: Slim strip pinned to the bottom of the screen on phones.
  • Floating Corner: Floats in a corner of every page, or just the ones you choose; collapses to a small pill.
  • Marquee: Full-screen wall display for a monitor, TV, or tablet; a public URL, not an embed.
3

You install the embed code

The marina copies their embed block from the Board Setup screen and sends it to you. For a board that sits in the page it is an <iframe> followed by a one-line loader script. Paste the whole block where you want the prices to appear:

In-page board

<iframe
  id="mfd-board-BOARD_ID"
  src="https://mfdboard.com/board?m=MARINA_ID&b=BOARD_ID&phone=PHONE"
  width="300"
  height="260"
  frameborder="0"
  style="display:block;border:0;background:transparent;max-width:100%;"
  loading="lazy">
</iframe>
<script src="https://mfdboard.com/mfd.js" data-marina="MARINA_ID" data-board="BOARD_ID"></script>

You don't need to touch the width and height. Those lines are just a safe starting size for the split second before the board loads. The board measures itself and snaps to the right size the moment the page opens, so it always fits its own content and won't stretch your layout or leave an empty gap. Leave them as they are and paste the block exactly as the marina sent it.

The MARINA_ID, BOARD_ID, and PHONE values are filled in for you. The phone number comes from the marina's profile and drives a "Call for current fuel prices" fallback if the board ever can't load. The loader script sizes the board to its content and automatically turns on the marina's phone bar (the Mobile Sticky Bar) if they've added one. Once it is pasted, the marina changes everything else from their dashboard and you never touch it again.

Two boards use a one-line block instead (the loader line on its own), because they pin themselves to the screen rather than sitting in the page:

One-line block (Floating Corner / Mobile Sticky Bar)

<script src="https://mfdboard.com/mfd.js" data-marina="MARINA_ID" data-board="BOARD_ID"></script>
  • Floating Corner: paste its line on each page where the corner card should appear. It shows only where you paste it.
  • Mobile Sticky Bar (the phone bar): usually nothing to paste. It shows up on phones automatically wherever any of the marina's boards are already installed. Paste its line only on a site with no other board.

One marina can have several boards. Each board is its own block; paste each where it belongs (and the same block can go on more than one page).


A price board loads from mfdboard.com and shows the marina's live prices in the look and colors they chose. A board that sits in the page is a lightweight <iframe>; the one-line loader script pasted alongside it sizes the board and automatically turns on the marina's phone bar (the Mobile Sticky Bar) on phones. The Floating Corner is placed like any other website board. Its one-line code goes on each page where the marina wants the corner card. Marquee is different again: a public URL you open full-screen on a TV, monitor or tablet, with nothing to embed.

It is the same one block everywhere, and the marina controls the rest from their dashboard. The in-page board works on any site that allows embeds. The script-powered extras (the phone bar, the corner card, live auto-resize) need the platform to run our script in the page, which a couple of site builders don't allow. Read What to expect on your platform below before you promise a marina a sticky bar.

What to expect on your platform

The straight version, so nothing bites you on the one site where it matters:

  • In-page boards work everywhere that allows embeds at all. The board is a plain iframe, so it renders the same on WordPress, Squarespace, Wix, GoDaddy, Shopify, Weebly, Drupal, and hand-coded sites.
  • Floating boards (Mobile Sticky Bar, Floating Corner) work on most platforms, but not inside Wix or GoDaddy Website Builder. Those two seal a pasted embed inside their own box, so a bar that should stick to the whole screen gets trapped in the box instead. On a Wix or GoDaddy site, use an in-page board and skip the floating ones.
  • Plan gates. WordPress.com needs a Business or Commerce plan, and Squarespace needs a Core plan or higher, before they allow any embed at all (iframe or script). On the lower plans neither works. That is the platform's limit, not ours.

Everything else (prices, colors, what the board shows, switching the in-page board's look, turning the sticky bar on or off) the marina changes from their dashboard with no help from you, once the block is pasted.

Platform-specific instructions

WordPress.org (self-hosted)
  1. Go to the page or post where you want the price board.
  2. Add a "Custom HTML" block (in the block editor, click +, search "HTML").
  3. Paste the embed code into the block.
  4. Click Preview or Publish.
WordPress.com
Heads up: WordPress.com strips iframes on Free, Personal, and Premium plans. You'll see the error "The iframe tag is not supported on this site." Only the Business plan and above (~$25/month) allows custom iframe embeds. If upgrading isn't an option, use the URL from your embed code's src="..." attribute as a regular link on your site. It opens the live board in a new tab.
  1. Confirm your WordPress.com plan is Business or higher (see the note above if you're not sure).
  2. Edit the page or post where you want the price board.
  3. Add a "Custom HTML" block (in the block editor, click +, search "HTML").
  4. Paste the embed code into the block.
  5. Click Preview or Publish.
Squarespace
Heads up: The Code block on the Basic plan strips out iframes and JavaScript, so the price board won't run there. You'll need the Core plan (~$23/month) or higher, where iframe embeds are fully supported.
  1. Confirm your Squarespace plan is Core or higher. The Basic plan can't run iframe embeds.
  2. Edit the page and click a content area.
  3. Click the + button and choose "Code" under Embed.
  4. Paste the embed code.
  5. Toggle off "Display Source" and save.
Wix
Heads up: The Embed HTML element works on all Wix plans including Free, but Free sites display Wix's own ads and branding on every page, which will look unprofessional next to your price board. For a clean look, you'll want the Light plan (~$17/month) or higher.
  1. In the Wix Editor, click + Add Elements.
  2. Choose Embed Code > Embed HTML.
  3. Drag the element to where you want it.
  4. Click "Enter Code", paste the embed code, and click Update.
GoDaddy Website Builder
  1. Edit your page and click Add Section.
  2. Choose HTML and drag it to your page.
  3. Click the HTML element, paste the embed code, and save.
Shopify
  1. In your Shopify admin, go to Online Store > Pages (or the page you want to edit).
  2. Click the page and switch to the HTML editor (click the <> icon).
  3. Paste the embed code where you want the price board to appear.
  4. Click Save. For theme sections, go to Online Store > Themes > Customize, add a "Custom Liquid" section, and paste the code there.
Weebly
  1. In the Weebly editor, drag an "Embed Code" element onto your page from the Build panel.
  2. Click the element and select "Edit Custom HTML".
  3. Paste the embed code into the HTML editor.
  4. Click outside the element to save, then Publish your site.
Drupal
  1. Edit the page or block where you want the price board.
  2. Switch the text format to "Full HTML" (not Filtered HTML, which strips iframes).
  3. Click the "Source" button in the editor toolbar to switch to HTML mode.
  4. Paste the embed code and save. If your site uses a block layout, add a "Custom block" with Full HTML format.
Raw HTML
  1. Open your HTML file in a text editor.
  2. Paste the embed code wherever you want the price board to appear.
  3. Save and upload the file to your web server.

Price board templates

You can choose square or rounded corners on in-page boards

Free BoardFree
Width
320px
Height
260px
Best for
Sidebars, content areas
Standard BoardPremium
Width
300px
Height
Grows with content
Best for
Customizable, can show payment / hours / discount
BannerPremium
Width
Configurable (600–1600px)
Height
Configurable (60–200px)
Best for
Full-width sections, footers, hero areas. Optional responsive mode.
SidebarPremium
Width
Configurable (120–400px)
Height
Configurable (120–1600px)
Best for
Vertical sidebar slots, narrow column areas. Custom font + size.
MinimalPremium
Width
Configurable (40px+, default 320px)
Height
Grows with content
Best for
Plain text fuel names + prices, no chrome. Custom font, size, color.
HeroPremium
Width
Configurable (600–1920px)
Height
Configurable (180–800px)
Best for
Tall full-width focal section for homepage tops. Optional photo background.
Mobile Sticky BarPremium
Width
Full screen width (mobile only)
Height
56, 64, or 72px
Best for
Pinned to bottom of mobile screen. Pair with another board.
Floating CornerPremium
Width
280px
Height
Grows with content
Best for
Floats in a corner. Put it on every page or just some. Visitor can collapse to a pill.
MarqueePremium
Width
Full screen
Height
Full screen
Best for
Wall monitor, TV, or tablet at the marina. Public URL, not an embed.

See them in action

Previews of each template using our demo marina.

You get to choose what information is seen on premium boards. These examples have many options turned "on."

Free Board

320 × 260px
Free Board preview

Standard Board

300px wide · gets taller with content
Standard Board preview

Banner

Resizable, optional responsive
Banner preview

Sidebar

Resizable
Sidebar preview

Minimal

Resizable
Minimal preview

Hero

Resizable, optional responsive
Hero preview

Mobile Sticky Bar

Pinned to bottom of mobile screen
Mobile Sticky Bar preview

Floating Corner

280px wide · gets taller with content
Floating Corner preview

Marquee

Full-screen public URL
Marquee preview

How the marina updates prices

Once installed, any price change appears on the website immediately. The marina has three ways to update:

Web portal

Log in at myfueldock.com and use the Dashboard.

Mobile app

Update prices from the My Fuel Dock app on iOS or Android. (Premium feature)

Text

Text prices to (401) BOAT-GAS(401) BOAT-GAS, just type naturally. (Premium feature)


Common questions

Does it slow down my website?

No. The iframe loads asynchronously with loading="lazy", so it doesn't block your page from rendering. The price board itself is under 10KB, unless you add a photo to the Hero board.

Does it work on mobile?

Yes. All templates are responsive and look great on phones, tablets, and desktops.

How quickly do prices update?

Instantly. When the marina owner changes a price, the board shows the new price on the next page load. No caching delay.

Can I style the board to match the site?

Yes, with a paid account. The marina owner configures custom colors in their My Fuel Dock portal. If you need specific colors, ask them to update their board settings.

Can I have multiple price boards?

Yes, with a paid account. You can embed the board on multiple pages or even use different templates on different pages.

What if I change my website design?

If you move it to a different page, just copy the same embed code to the new location.

Is there a JavaScript API?

There's no JavaScript API for you to call into. Every board comes with a one-line loader script we provide: for an in-page board it sits next to the iframe, and for a floating board it is the whole block. Marquee is a standalone URL. Either way, you just paste what the marina sends you.

What if the board doesn't load?

If the embed code includes a phone number (the &phone= parameter), visitors will see a friendly fallback panel that says "Call for current fuel prices" with a clickable phone number. If no phone is provided, a simple error message appears. Either way, check that the embed code URL is correct and that the site allows iframes from mfdboard.com.

Do I need to update my website code when prices change?

No! That's the whole point. The marina updates prices once (dashboard or app) and every embedded board on the site updates automatically.

Will I ever need to paste new code?

For everyday changes, no. Prices, colors, what the board shows, its size, even switching a website board between its looks all update on their own once the block is installed. New code only enters the picture when the marina adds a new board: a new in-page board or Floating Corner is a fresh block to paste where they want it. The phone bar usually needs no paste at all. It rides along automatically once any board is installed.

How much does it cost?

There's always a free option. A free account gets one price board template (Free Board) with default colors and a "Powered by myfueldock.com" footer, plus one price change per day. A paid account ($19/mo or $195/year) unlocks premium templates and a host of features.

Need help?

Email support@myfueldock.com and we'll help you get set up.

Marina doesn't have an account yet?

Create a free account