CodeRed CMS

Navigation

  • Docs »
  • Features »
  • Blocks »
  • Content Blocks »
  • Modal Block

Modal Block¶

Creates a popup box with a header, footer, and the ability to display the body as a block.

Field Reference¶

Fields and purposes:

  • Button Title - The text to show on the button. You can insert simple HTML here as well, such as Learn <b>More</b>.

  • Button Style - The appearance of the button. This is a choice loaded from CODERED_FRONTEND_BTN_STYLE_CHOICES Django setting and is inserted as a CSS class in the HTML.

  • Button Size - The size of button. This is a choice loaded from CODERED_FRONTEND_BTN_SIZE_CHOICES Django setting and is inserted as a CSS class in the HTML.

  • Modal Heading - The heading, or title, that will display on the modal

  • Content - Choose from other content blocks for the body of the modal.

  • Modal Footer - Choose a Simple Text footer or a button link

Once it is published, website visitors can click the button to see the popup message.

Our cupcake modal

Our cupcake modal as it appears on the page¶

← Latest Pages Block
Page Preview Block →
© Copyright 2018-2021, CodeRed LLC. Last updated on Jan 25, 2021. Created using Sphinx.

CodeRed CMS

  • Getting Started
  • Advanced Tutorial
  • Features
    • Blocks
    • Import/Export
    • Mailchimp Integration
    • Page Types
    • Searching
    • Snippets
  • How-To Guides
  • Technical Reference
  • Contributing
  • Release Notes