Setting style on Webpages

Applying Styles to Web Components in Mition

Mition allows you to control the look and feel of your website using Custom Styles.

Custom Styles make it easy to apply consistent branding across:

  • Web pages
  • Portals
  • Layout blocks
  • Buttons
  • Text components
  • Email templates

Instead of styling every component manually, you create reusable style presets once, then apply them anywhere.

What Is a Custom Style?

A Custom Style is a saved design preset that can include:

  • Background colour
  • Foreground panel colour
  • Header and body text colours
  • Link colours
  • Button colours
  • Fonts (Google Fonts supported)
  • Background images
  • Optional custom CSS classes

Once created, the style can be reused across multiple components.

Where to Manage Styles

To create or edit styles, go to:

Admin Settings → Style → Custom Styles

This page is your central style library.

Creating a New Style

  1. Open Custom Styles
  2. Click New
  3. Enter:
  • Style Name (e.g. “Dark Footer Theme”)
  • Description (what it is used for)
  1. Set your colours:
  • Background Colour
  • Foreground Colour
  • Header Colour
  • Body Text Colour
  • Link Colour
  • Button Colours
  1. Click Save

Your style is now available across the platform.

Live Preview While Editing

When editing a style, Mition shows a live preview including:

  • Background area
  • Foreground panel
  • Heading text (H1–H3)
  • Body text
  • Links
  • Buttons

This lets you confirm your branding instantly before applying it to components.

Fonts (Google Fonts Supported)

Custom Styles allow you to override typography.

Header Font

Used for titles and headings.

Body Font

Used for paragraphs and standard text.

To use a Google Font:

  1. Visit https://fonts.google.com
  2. Copy the font name (e.g. Roboto)
  3. Paste it into the font field

Background Images

Styles can also include optional images:

  • Background Image (full page)
  • Foreground Background Image (panel overlay)

These can be useful for hero sections or branded blocks.

Applying a Style to a Web Component

Every web component includes a Custom Style Override option.

To apply a style:

  1. Edit the component on your webpage
  2. Locate the field:

Custom Style Override

  1. Select one of your saved styles
  2. Save the component

That component will immediately adopt the chosen colours, fonts, and button styling.

What Does the Style Affect?

Depending on the component type, styles can apply to:

Style ElementControlsBackgroundOuter section colour/imageForegroundInner panel or card colourHeader TextHeading colour + fontBody TextParagraph colour + fontLinksAnchor/link colourButtonsButton background + textCustom ClassAdds extra CSS rules

Custom CSS Classes (Advanced)

Each style supports an optional Custom Class field.

Example:

style-rounded-shadow

When applied, this class is automatically added to the component wrapper.

This allows advanced designers to create effects like:

  • rounded corners
  • drop shadows
  • spacing variants
  • animations

Caching Note

Some style settings (especially fonts and colours) are cached for performance.

Changes may take time to appear for all users.

If needed, users can click:

Clear My Cache

inside the style preview panel.

Best Practice Recommendations

✅ Use a small set of reusable styles
✅ Create one “Main Theme” style first
✅ Use overrides only for special sections
✅ Keep fonts consistent across the site
✅ Use Custom Classes only when needed

Summary

Custom Styles in Mition allow you to:

  • Maintain consistent branding
  • Apply design presets instantly
  • Override styling per component
  • Preview changes live
  • Support advanced CSS control

This is the same style system used across both:

🌐 Web Components
✉️ Email Templates

Open Graph Image (Social Media Share Banner)

When someone shares your website link on platforms like Facebook, LinkedIn, or Twitter/X, those platforms automatically look for a preview image to display in the post.

This image is called the Open Graph Image (og:image).

Mition provides a default social share banner, but each client can customise their own.

Recommended Image Size

For best results across all social platforms, your Open Graph image should be:

  • 1200 × 630 pixels
  • PNG or JPG format
  • Under 1MB in file size

This ensures your site displays a large, high-quality preview when shared.

How to Update Your Open Graph Image

Mition clients can set their own custom Open Graph Image by going to:

Admin Settings → Style → Open Graph Image

Upload your preferred banner image, and it will become the default preview image used when your site is shared online.