• Support
  • Community Site
  • Login
617.471.4440
PaperThin Inc.
Web Content & Experience Management
  • Solutions

    Solutions That Drive Value

    Solutions By Category

    Solutions By Topic

    Solutions By Industry

    All Solutions

    Solutions That Drive Value

    • Web Content Management
    • Experience & Content Marketing
    • Website Optimization
    • Mobile & Responsive Design
    • IT Excellence
    • System Management & Development

    Solutions By Industry

    • Higher Education
    • Government
    • Healthcare
    • Associations
    • Legal
    • All Solutions
    • Solutions List
  • Product

    Product Offerings

    Features

    CommonSpot Cloud

    Cloud or On Premises

    Widget Gallery

    Product Offerings

    • CommonSpot CMS
    • Digital Marketing Engine
    • Marketing Optimization Tools
    • IT & Developer Tools
    • Cloud or On Premises
    • CommonSpot Cloud
    • Deployment Options
    • Widget Gallery

    Features For:

    • Marketers
    • Designers & Developers
    • Administrators
    • Content Contributors
    • All Features
    • Feature List
  • Services

    Services Overview

    CommonSpot Training

    Customer Support

    Professional Services

    World Class Services

    • CommonSpot Training
    • Customer Support
    • Professional Services
  • Customers

    Spotlight Customers

    Testimonials

    Our Customers

    • Spotlight Customers
    • Testimonials
  • Company

    About PaperThin

    Contact Us

    Directions

    Blog

    Videos & Webinars

    PaperThin Community

    About PaperThin

    • About Us
    • News
    • Employment
    • Contact Us
    • Directions

    PaperThin Resources

    • Blog
    • Videos & Webinars
    • PaperThin Community
  • Blog
  • Subscribe
  • Search
  • Login
Get Demo Subscribe

Call to Action Buttons Widget

Get Demo
  • Home
  •  Widget Gallery
  •  Call to Action Buttons Widget
Add one or multiple Call to Action Buttons with an optional icon from reusable content stored in a CommonSpot Custom Element. Render them as a responsive line of horizontal buttons or a stack of vertical buttons that point to internal pages or external links.
You can choose from several styles of buttons (filled, filled with border, outlined, 3d, or skewed), choose to render with or without an icon (positioned left, right or top), and what hover effect to us (fill, darken, lighten).
Call to Action Buttons

Buttons with Background Image

Call to Action Buttons (left & center)

(Left & Center Aligned)

Call to Action Buttons (Outlined)

(Outlined)

Call to Action Buttons - 3d

(3d Effect)

Vertical Call to Action Buttons

(Stacked Vertically & Justified)

  • Overview
  • General Properties
  • Element Properties
  • Installation
  • Docs

This Call to Action Buttons Widget renders one or more buttons with text, a link and an optional icon. The set of buttons may be displayed either horizontally or stacked vertically. For horizontally positioned buttons, you can choose your choice of alignment (left, center, right, justified, even space between and even space around). For vertically positioned buttons, you can align them left, center, right or justified.

Multiple buttons may be displayed by using the built in content re-use capabilities in CommonSpot. Simply configure the 'render-mode' filter to return multiple records (either via a dynamic filter or manual selection).

Multiple instances of the element may also coexist on the same page making this widget extremely useful and flexible.

This widget includes the default 'CSW Buttons Widget' Global Custom Element but you may also bind this widget’s Generic Render Handler and Metadata Form to your own Custom Element content object. The default custom element has only 3 fields: Button Text, Link and Icon. There are several options in the Metadata FForm which is bound to the Render Handler, such as: choice of button color, spacing around button text, vertical or horizontal buttons, options for text alignment or rendering a FontAwesome icon. This provides multiple and varied rendering options.

For developers, the configurable Widget Options, Generic Render Handler file and included Cascading Style Sheet file may be modified to fit your specific content’s custom display scenario.

The Call to Action Buttons Widget offers the following configurable properties via the Custom Metadata Form bound to the Generic Render Handler:

Layout Properties (tab)

  • Button Set Alignment - Controls how the buttons are rendered. There are several 'horizontal' or 'vertical' options:
    • horizontal - left aligned, center aligned, right aligned, justified, even space between or even space around
    • vertical - left aligned, center aligned, right aligned, justified.
  • Responsive Action - These fields are available if Button Set Alignment is set to one of the 'horizontal' options. Options are: none, stack and stack with 100% width and may be applied to the following 5 screen sizes.

    • Small Phone, Phone, Tablet, Desktop and Large Desktop.

 

Link/Button Properties (tab)

See a detailed explanation of the Link/Button Properties tab here.

 

General Properties (tab)

  • Element - includes 2 fields to set background and padding
    • Background Color - many color choices to choose from in a select list
    • Padding - This controls the amount of space between the buttons and the edge of the available space or image.
      • Units - choose the type of web unit to use for rendering the padding around the button
        • Options include: px, em, rem, vn, vh, %, vmin, vmax, none
        • Select values for Top, Right, Bottom and Left
  • Background Image - Select an image to render underneath your set of buttons.
  • Background Image Focal Point
    • Options are: top left, top middle, top right, center left, center middle, center right, bottom left, bottom middle, bottom right

There are two different sample Custom Elements provided with this widget:

  • Buttons Widget
  • Buttons Widget for Font Awesome

Each is bound to its own Generic Render Handler. 

The provided 'Button Widgets' Global Custom Element has the following properties:

Buttons Widget (tab)

  • Button Text - The text of the button.
  • Link - The URL to link to when the user presses the button.
     

Icon (tab)

  • Icon - Optional. Select the icon to display in the button.  Depending on which Custom Element you use you will either see Bootstrap Glyphicons or FontAwesome icon.

 

The Call to Action Buttons Widget has the following downloadable components:

  • Global Custom Elements 
  • Metadata Form
  • Generic Render Handlers

Because this render handler is written as a “generic" Render Handler you can either use the provided Custom Element, or use your own existing Custom Element instead.

If you want to use the provided global Custom Element, do the following:

  1. Download & Import the Metadata Form
  2. Download & Import the Global Custom Element 
  3. Confirm the Metadata Form is bound to the Render Handler

If you plan on using your own custom element, do the following:

  1. Download & Import the Metadata Form
  2. Download & Import the Render Handler
  3. Confirm the Metadata Form is bound to the Render Handler
  4. Map your Custom Element fields to the Generic Render Handler

For detailed information on how to import the various components, please see Importing Widgets.

 

General Widget Documentation

What makes up a Widget?
Common Widget Properties
Importing Widgets
Widget Documentation for Developers
Widget Style Sheets
Author: PaperThin
Version: 1.0
Dependencies:
  • ADF 2.3
  • Font Awesome 4.7*
Master Import Packet
File Version: 2022-12-23 01:14 PM

Master Import Packet with all components of the Buttons Widget needed for import.

* Only one Generic Render Handler is "Required" for this Widget. Select the appropriate one based on the desired icon library to be used.
PaperThin, Inc.

PaperThin, Inc. is a privately held, US-based company since 1993. Our flagship product CommonSpot™ helps organizations create world-class Web experiences. PaperThin's customers span multiple industries, including: government, healthcare, higher education, and association/non-profit sectors.

Contact Us

 617.471.4440
 info@paperthin.com

Learn More

  • Get a Demo
  • Try Now
  • All Features
  • Cloud vs. On-Premises
  • Spotlight Customers
  • Testimonials

CommonSpot is for:

  • Marketers
  • Designers & Developers
  • Administrators
  • Content Owners

Customer Links

  • Contact Support
  • Community Site
  • Professional Services
  • Training
  • Give Feedback

General

  • Contact Us
  • About PaperThin
  • Site Map
  • Career Opportunities
  • Privacy Policy
  • Terms of Use

Copyright © 2025 PaperThin, Inc. / All rights reserved.