Styling & embedding

Custom CSS for a single map

All guides

Every map has its own Custom CSS box. Anything you put there applies to this map only, and because it's injected after the company brand style and this map's own theme, it wins over both. Reach for it when a single map needs a tweak your other maps shouldn't inherit.

Prefer the colour and font pickers where they exist — they're safer and survive updates. Custom CSS is for the extra 5% those controls don't cover. If you want the same change on every map, use the company-wide Brand style → Custom CSS instead (see Brand your maps).

Where to find it

  1. Open the map in the editor

    Go to map.au, sign in, and open the map you want to style.

  2. Go to the Styles tab

    Select the Styles tab, then scroll to Map colours.

  3. Find the Custom CSS box

    At the bottom of that panel is a Custom CSS heading with a code box beneath it. Type your CSS straight in.

  4. Watch the live preview

    The preview on the right updates as you type, so you can see each rule land before you commit.

    Nothing goes live until you save and re-publish the map.

The cascade — what beats what

Your styles are stacked in this order, later layers overriding earlier ones. Knowing the order tells you why a rule does (or doesn't) take effect:

LayerSet whereScope
1. Mapvera defaultbuilt inevery map
2. Company brand styleTeam Settings → Brand styleall your maps
3. This map's themeStyles → Map colours + Panel & sheet themethis map
4. This map's Custom CSSStyles → Custom CSSthis map — wins over all above
Because your Custom CSS is the last layer, you rarely need !important. If a rule still won't stick, your selector is probably too weak — make it more specific rather than reaching for !important.

Useful selectors

The visitor UI (bottom sheet, side panel, buttons and place cards) is built from .mvw classes. A few you'll use often:

SelectorTargets
.mvwthe whole wayfinding UI wrapper — a good place to set shared variables
.mvw-btnthe Directions / Share / More buttons
.mvw-thumbthe logo / thumbnail slot in the sheet header
.mapvera-pinthe pins on the map
Class names are your styling contract, but they can change as the product evolves. Keep your Custom CSS small and re-check a map after any big update.

Examples to copy

  1. Square off the buttons

    .mvw-btn{ border-radius:4px } — the same example shown in the editor's tooltip.

  2. Recolour via a variable

    Some elements read a CSS variable, so setting it on .mvw cascades cleanly: .mvw{ --mvw-accent:#c0392b }.

    Setting the variable is gentler than overriding each element by hand.

  3. Nudge one thing on mobile only

    Wrap the rule in a media query: @media (max-width:640px){ .mvw-btn{ font-size:15px } }.

Save and check

The preview is a guide, not the final word. Save the map, Publish it, then open the public map (and a phone) to confirm the change looks right on the real page. If something looks off, come back and refine — Custom CSS is safe to edit as often as you like.