Button

A button leads to a page, a file or an address. You set how all buttons look once in the design settings. When you need to, you can style single buttons differently.

What it does

  • One style for all: font, colours, border and padding come from the „Design“ tab
  • Local override: „Lokale Einstellungen“ (local settings) change just this one button
  • Colours with hover: background, text and border, each normal and on hover
  • Shape: font size, corner radius, border width and padding
  • Alignment: normal, start, centre or end
  • Many link targets: page, URL, file, email, phone or anchor – in a new window if you like

Live examples

The same block three times, set up differently. Move your mouse over the buttons to see the hover colours.

1 · Global style, three alignments

These buttons have no settings of their own. They take their look from the „Design“ tab. Only „Ausrichtung“ (alignment) differs: Start, Mittig (centre), Ende (end).

2 · Local override: dark, square, bold

„Lokale Einstellungen“ (local settings) is on: bold font, Rand Rundung (corner radius) 0, Rand Strichstärke (border width) 2, Abstand (padding) 14. Background in the tertiary colour (blue grey), primary (orange) on hover.

3 · Local override: outline with round corners

Background „Transparent“, text and border in the tertiary colour, filled on hover. Rand Rundung (corner radius) 32, Rand Strichstärke (border width) 2.

How to do it in the Panel

Four steps from an empty block to a finished button.

Click the plus in a layout, open the group „Elemente“ and pick „Button“.

In the „Inhalt“ (content) tab, choose the target in „Link Objekt“: page, URL, file, email or phone. „Text“ is the label – if you leave it empty, the block builds it from the link. „Neues Fenster?“ (new window?) opens the target in a new window, „Anker Link?“ (anchor link?) jumps to a spot on the page.

In the „Einstellungen“ (settings) tab, „Ausrichtung“ (alignment) sets where the button sits in the layout: Normal, Start, Mittig (centre) or Ende (end).

You set the default for all buttons in the „Design“ tab under „Globale Button Einstellungen“ (global button settings). If only this button should look different, switch on „Lokale Einstellungen“ here. Then „Einstellungen“ (font, font size, corner radius, border width, padding) and „Farben“ (colours: background, text and border, each with hover) appear.