Multi Buttons
Add attractive call to action buttons within a block with the Gutenberg Multi Buttons block. Using this multi buttons block you can add many buttons to your content.
How To Add The Multi Buttons Block
Open a page or a post and click on the plus icon to add a new block and look for the Multi Buttons or you can search for it if it doesn’t pop up quickly for you.
By default, you'll get two buttons.
How To Configure Parent Block
General
Under the General tab, you can select the button alignment as left, right, or center. Stack on - Choose the breakpoint on which the buttons will stack.
How To Configure Child Block
Button Settings
Inherit from theme - Enabling this option will apply the styles of the theme to the button.
Open link in new tab - Here you will get the option to open the link in a new tab.
Hover Effect: Select the effect as lift, scale, lift & scale, scale more, and lift & scale more. You will see this effect when you bring the cursor on the button.
How To Style The Multi Buttons Block
Switch to the ‘Style’ tab to customize every element of the Multi Button block.
If you have enabled the 'Inherit from theme' option, you'll not see style settings like 'Color Settings', 'Background', 'Border', 'Button Typography', and 'Box Shadow'.
Color Settings - Under this tab, color options are available for Text and Border. You can also choose the color as transparent. You can set the opacity of the text color.
Background - Select background type from here. This dropdown has two options:
Color
Gradient
Border: The following settings are available in the border panel - Style - You can select the style of the border as solid, dotted, rigged, double, dashed, etc. You can also choose to hide it
Thickness - You can set the thickness of the border from here.
Rounded Corners - You can give border-radius to the buttons from here.
Spacing
Spacing tab offer options to customize the button padding and margin separately for Vertical and Horizontal. You can set different spacing for mobile and tablet view.
Icon Settings
Select an icon to display on the button from here.
Select Position: You can display the icon after or before the text.
Icon Size - Increase or decrease the size of the icon from here.
Icon Spacing - Increase or decrease the spacing between icon and text from here.
Icon Color - Choose a color for the icon from here.
Icon Hover Color - Choose a color for the icon when an icon is hovered.
Button Typography
Under this tab, options for font family, font size, font weight and line-height are available for Button.
Box Shadow
You can give a box shadow to the block with a number of options available for customization such as color, blur, spread, position, etc.
Last updated