Astroid Framework
HomeDownloadReport an IssueVideo Tutorials
English
English
  • What is Astroid
  • Get Started
    • Introduction
    • Technical Requirements
    • Installation
    • Layout Manager for Dummies
    • Creating a basic Astroid Template
  • Astroid Pro
    • Using the License Key
    • Dynamic Content
  • Basic Settings
    • Preloader
    • Favicon
    • Back to Top
    • Wide Vs Box Layout
    • Smooth Scroll
    • Color Mode
    • Container Background Mode
    • Bootstrap Settings
  • Header
    • Header
      • Transparent Header
      • Site Menu Method
    • Logo Options
    • Sticky Header
    • Off-Canvas menu
      • Customize the Offcanvas icons
    • Animation
  • Color
    • Body Color
    • Header Color
    • Sticky Header Color
    • Main Menu Color
    • Dropdown Menu Color
    • Off-Canvas Colors
  • Layout Settings
    • Section Settings
    • Row Settings
    • Element Settings
    • Column Settings
    • Layout Configuration on devices
    • Sub Layouts
  • Astroid Widgets
    • Divider Widget
    • Navigation Widget
    • Icons Widget
    • Button Widget
    • Heading Widget
    • Text Widget
    • Image Widget
    • Slideshow Widget
    • Image Group Widget
    • Testimonials Widget
    • Articles Widget
    • Accordion Widget
    • Grid Widget
    • Form Builder Widget
    • Map Widget
    • List Widget
    • Video Widget
    • Video Button Widget
    • Image Carousel
    • Countdown
    • Raw HTML Widget
    • Module Position
  • Astroid Widgets Pro
    • CodePen Widget
    • Hover Motion Gallery
    • Article Listing
    • Listing Pro
    • Count Down widget
  • Image Motion Cursor
  • Typography
    • Body Typography
    • Menu Typography
    • H1-H6 Typography
    • Drop Down Menu Typography
    • Custom Typography
    • How to use local font
  • Article Blog
    • Article Layout Builder
    • Article Listing Options
    • Single Article Options
    • Blog Options for Single Article view
    • Blog Options for Articles List View
    • Open Graph
    • Custom type comment for Blogs/Articles
  • Social Profile
    • Social Profile
  • Custom Code
    • Tracking Code
    • Before </head>
    • Before </body>
    • Custom Css
    • Custom JS
  • Miscellaneous
    • Lazy Load Images
    • Coming Soon
    • Error Page
    • Copyright
    • Contact Information
    • Minify JS/CSS/HTML
  • Theming
    • Theming
  • Menu Item Settings
    • Blog Options
    • Banner Options
    • Open Graph Options
    • How to manage the Blog Options for Articles List View
  • Mega Menu
    • Mega Menu
  • MORE
    • Preset Profiles
    • Astroid Layout Module
    • Astroid Captcha
  • Developers
    • Get Started
    • Build or Override a Widget
Powered by GitBook

© Astroid Framework 2025.

On this page
  • How to add a Button widget
  • I. Button Widget - General Settings
  • 1. Add New Button Items
  • 2. Button Widget Styles
  • II. Design Settings
  • Spacing
  • Custom css
  • III. Responsive Settings
  • IV. Widget's Menu Assignment

Was this helpful?

Export as PDF
  1. Astroid Widgets

Button Widget

PreviousIcons WidgetNextHeading Widget

Last updated 6 months ago

Was this helpful?

Buttons on the web are there to act. A well-designed, good-looking button is always crucial in any web design. Buttons hold the key to page redirection, interaction, and data flow on web pages.

How to add a Button widget

You need to create a new section, choose a grid layout and click adding a new element. By adding a new element, you will see a popup including all the widgets available.

Simply choose the Button widget from the widget list, then it'll be added to the layout's section where you want to add a Button widget.

The Button Widget contains 4 main settings tabs:

  • General Settings

  • Design Settings

  • Responsive Settings

  • Menu Assignment

I. Button Widget - General Settings

1. Add New Button Items

The widget inline editor will open up when you click on the Button element in the layout. You can access the widget settings and customize the button to fit your needs.

In the general setting tab, click on "Add Item" button to add a new button item. Then start configuring each item.

  • Button title: The button title is the name of the button.

  • Link: Insert the URL you want to link to the button.

  • Icon: Choose an icon for each button

  • Styles: Choose a button style from the drop-down list.

  • Outline Style: Enable to create a line that is drawn around the button element, outside the borders, to make the element "stand out".

  • Button size: Choose a button size.

2. Button Widget Styles

  • Enable Button Group: Enable this option if you'd like to group a series of buttons on a single line with the button group.

  • Button size: Choose an option for the button size

  • Styles: Choose a button style for buttons such as: Primary, secondary, success, danger, warning, info, light, dark, link, and text.

  • Border Radius: Choose an option for the border-radius of buttons.

  • Gutter: Select a padding between your buttons.

  • Custom Class: Write the class name used for writing custom CSS or JS.

  • Custom ID: Give a custom ID to override the auto-generated ID

II. Design Settings

  • Element Visibility: Choose to set the element to be visible on "Current and all linked pages", or on "Current menu items only".

  • Animation: Choose an animation for the widget from the drop-down list.

  • Max Width: Set the Max Width for the widget.

  • Text Alignment: Set the alignment of the text of the widget.

  • Text Alignment Breakpoint: Choose a breakpoint at which the text alignment will change.

  • Background Type: Select the background type for the widget from None, Color, Image, Video or even add a Gradient.

  • Custom Color: Choose whether you want to enable or disable the custom colors for the widget. If you enable it then you have the option to set Text Color, Link Color & Link Hover Color of the element’s content.

Spacing

Add margin and padding values over the row to improve its appearance on different devices.

Custom css

Here in the design settings, you can add custom CSS to customize the design of the element.

III. Responsive Settings

Device Visibility: Choose your preference for hiding or showing the section on different screens like:

  • Hide on Extra Small Devices: Hide the widget on mobile phones.

  • Hide on Small Devices: Hide the widget on tablets.

  • Hide on Medium Devices: Hide the widget on laptops.

  • Hide on Large Devices: Hide the widget on desktop.

  • Hide on Extra Large Devices: Hide the widget on large screens.

IV. Widget's Menu Assignment

Since Astroid framework 3.0.12, the menu assignment feature has been introduced, which is applied to widgets available in Astroid's widget library.

You can choose between On all pages, No pages, Only on the pages selected from the List.

  • On all pages: the widget will be visible on all pages of your website

  • No pages: the widget will be invisible on all pages

  • Only on the pages selected: "Menu Selection" will show with all the menu items on. You can assign the widget by selecting the menu links that you want the widget associated with on what pages the widget appears.

Select the widget from the widget panel.
Ad a new button item.
Configure each button item.
Button widget styles
Design Settings
Spacing options
Element's custom css.
Menu assignment
Assign the widget to specific pages