Eid Mubarak

00
Days
00
Hours
00
Minute
00
Second
SAVE50%

Button

Creating an eye-catching and effective Call-to-Action (CTA) is simple with the Gutenberg Button Block and aBlocks. Here’s how to design your CTA button step-by-step:

How to Add aBlocks Button Block

Log into your website’s dashboard and add a new page.

Now, click the (+) icon to open the block options.

Navigate aBlocks all block

 Now you can see all the blocks of aBlocks. Select the aBlocks Button Block from the list.

Select the aBlocks Button Block

Customizing aBlocks Button Block: Step by Step Guide

Let’s explore the full usage and editing options of the aBlocks Button Block step by step.

General and Advanced

After selecting the aBlocks Button block, two options will appear on the right: General and Advanced, allowing you to easily customize the button as you like.

Customizing Your aBlocks Button Block

General 

This section is divided into two parts:

  1. Content
  2. Style 

Content

Customize the sections of the button of content

The content section offers several customization options, like

  • Position
  • Type
  • Text
  • Sizes
  • Link
  • Show Icon
Customization option of  Content sections

Position: You can easily change your Position from here, like

  • Left: Align the button to the left side of the block.
  • Center: Place the button in the center of the block.
  • Right: Align the button to the right side of the block.
  • Stretch: Expand the button to fill the entire width of the block.
Customization option of  Position sections

Type: You can easily change the Type from the following options:

  • Danger: Indicates a critical action or alert, usually in red.
  • Info: Provides information, typically in blue.
  • Success: This signifies a successful operation, often shown in green.
  • Warning: Alerts users about potential issues, usually in yellow.
  • Primary: Represents the main action, often styled prominently.
Customization option of  Type sections


Text: In this section, there is a text box where you can customize your text as desired, which will be displayed on your page.

Customization option of  Text sections

Sizes: You can easily change the Sizes from these options:

  • Extra Small: A compact button size for minimal space.
  • Small: A slightly larger size that remains unobtrusive.
  • Medium: A balanced size, suitable for most contexts.
  • Large: A prominent size that draws attention.
  • Extra Large: The biggest option, ideal for high visibility.
Customization option of  size sections

Link: The Link section allows you to configure how the button directs users. Here are the key options available:

  • URL: Enter the destination link where users will go when they click the button. This can be either an internal page or an external website.
  • Open in New Tab: Toggle this option to allow the link to open in a new browser tab. This is useful for keeping users on your site while they access additional content.
  • Add Nofollow: This option allows you to add attributes like nofollow, which tells search engines not to follow this link, or other custom attributes for tracking purposes.
  • Custom Attributes: Specify any actions that should occur when the button is clicked, such as submitting a form or triggering a specific event.

By customizing these options, you can ensure that the button effectively fulfills its intended purpose and enhances the user experience.

Customization option of link sections

Show Icon: You can enable the Icon section by clicking the toggle button. Once activated, you can easily upload your icon image. 

Customize Icon sections

Icon Section: Customization Options

Icon: You can upload your image using two options: the system “Icon Library” or the “Upload Image“(by uploading your own image).

The aBlocks Icon section provides several customization options to enhance your icons effectively. Here’s a brief overview of each option:

  • Image Sizes: Adjust the size of your icons to fit your design needs. Choose from predefined sizes or set a custom size.
  • Width: Control the width of the icon to ensure it aligns well with other elements on your page.
  • View: Select different view styles for your icons, allowing for various presentations (e.g., filled, outlined).
  • Shape: Customize the shape of your icons, such as circular, square, or custom shapes, to match your design.
  • Background Color: Set a background color for your icons to make them stand out and complement your overall color scheme.
  • Rotate: Use the rotate option to adjust the angle of your icons for creative effects.
  • Padding: Modify the padding around your icons to create space and improve the layout.
  • Border Width: Set the thickness of the border around your icons for added definition.
  • Icon Position: Adjust the positioning of your icons within their containers for optimal alignment.
  • Icon Spacing: Control the spacing between multiple icons to ensure a balanced and visually appealing layout.

These customization options allow you to tailor your icons to fit the specific style and layout of your website.

For detailed instructions on using the icon section, refer to the aBlocks Icon Block documentation. Click here to view aBlocks Icon Block.

Customize Icon sections

Style

In the General section, the second option is Style. The Style option offers various customization choices, like

Customize the sections of the button of Style

Typography: The Typography section offers many customization options. For detailed information about each option, refer to the aBlocks Typography Block documentation. Click here to view aBlocks Typography Block.

Customize Typography sections
Text Shadow: The Text Shadow section offers various customization options. For detailed information about each option, refer to the aBlocks Text Stroke and Text Shadow documentation. You can explore settings to enhance your text’s appearance. This section allows you to create unique text styles. Click here to view aBlocks Text Stroke and Text Shadow documentation.
Customize Text Shadow sections

Color: In the Color section, you can manage the color settings for two states:

  • Normal
  • Hover
Customize Color sections

In the Normal option, you can customize two aspects:

  • Color 
  • Background

Color: You can easily change the color of text or elements overlaid on the image from here.

Customize Color sections

Background: This option lets you set or change the background color from here.

Customize Color sections

Hover: In the Hover option, you can customize three aspects:

  • Color 
  • Background
  • Transition Duration
Customize Hover sections

Color: In the Hover option, the Color setting lets you change the color of text or elements overlaid on the image when a user hovers over it. This makes the hover effect more visually engaging by highlighting the text or elements.

Customize Color sections

Background: In the Hover option, the Background setting allows you to change the background color of the image block when the user hovers over it. This provides a dynamic effect, enhancing the visual interaction with the image.

Customize Action Color sections

Transition Duration: In the Hover option, the Transition Duration setting allows you to control how quickly the color and background changes happen when a user hovers over the image. You can set the duration in milliseconds to create smooth transitions between the normal and hover states.

Customize Transition Duration sections

Normal

Customize Normal sections

Hover

Customize Hover sections