LocalGov Drupal Docs
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
  • Content designers, editors and content managers
  • Features
    • Services
    • Alert banners
    • Directories
    • Elections
    • Guide
    • News
    • Publications
    • Step by step
    • Subsites
    • Workflow
  • Patterns & Components
  • How-tos
    • How to log in
    • How to use Github
    • How to manage content
    • How to add WYSIWYG styles
      • Applying component styles
    • How to set character limits
    • How to crop images
    • How to use the media library
    • How to bulk upload images
    • How to check where media is used
    • How to manage menus
    • How to devolve publishing to other teams
    • How to tag content
    • How to archive Google Universal Analytics data

How to add WYSIWYG styles

Components added in the flow of your page body can be selected from the WYSIWYG 'styles dropdown'.

You can choose from the following component styles:

  • Alert info
  • Alert warning
  • Alert failure
  • Alert success
  • Callout primary
  • Callout success
  • Callout danger
  • Callout teal
  • Callout carbon
  • Callout yellow
  • Highlight

The available style options may appear different to those listed on this page.

Applying component styles

Follow these steps to apply component styles in the editor of Drupal.

Step 1

When editing your page in Drupal add the content that requires component styling to the ‘Body’ editor.

Step 2

Click and drag to highlight the content that requires component styling.

Step 3

Click the styles dropdown and choose the component style option you require.

Step 4

To check the component styling has been applied, highlight your content again and you will see the chosen style appears as the title of the styles drop select.

Help us improve this page!
Last Updated: 9/21/2021, 4:33:13 PM
Prev
How to manage content
Next
How to set character limits