Buttons Block
The Buttons block consists of the Button Group block which groups multiple buttons and offers options for the general appearance of the group and the Button block which controls the functionality and appearance of the individual button.
Let’s take a look at the Button Group first.
Button Group Settings
![](jpg/button-group-settings.jpg)
Here you can control the alignment of the entire button group and choose to display your buttons aligned to the left, right or center.
Notice that the Button Alignment has three icons next to its label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the button group alignment for each device.
Block Appearance
![](jpg/gb_bg_ba.jpg)
Under Block Appearance you can customize the look of the block. The available options are:
- Background Color: This option controls the background color of the button group.
- Padding: With this option you can control the padding on each side of the block
- Background Color: This option controls the background color of the button group.
- Padding: With this option you can individually control the padding on each side of the block.
- Margin: With this option you can control the margin on each side of the block individually or all at once..
Notice that the Padding and Margin options have three icons next to their label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the values of padding/margin for each device.
Visibility Settings
![](jpg/gutenbee-visibility-settings.jpg)
Via the Visibility Settings you can hide the block for certain type of device or user.
The Viewport visibility toggles allow you to hide the block on desktops, tablets and mobiles. You can choose to hide it on more than one device type.
The Authentication visibility toggles allow you to display the block only to logged in or logged out users.
Now let’s move on to the Button block.
Button Settings
![](jpg/button-settings.jpg)
Here you can set the button’s URL, select if you wish for it to open in a new tab and set the relation between the current and the linked document via the rel attribute. If you wish to add more than one attributes separate them with a space.
Block Appearance
![](jpg/gb_button_ba.jpg)
Under the block appearance tab you can control how each button looks. Let’s take a look at the options.
- Font Size: This option allows you to set the font size either via a drop down of preset values or by setting an exact pixel value in the input.
- Text Color: This option allows you to set the color for the button’s text.
- Background Color: This option controls the button’s background color.
- Border: This option allows you to select the border style via the drop down and then select the border color and width.
- Border Radius: This option allows you to round the button’s corners.
- Box Shadow: This option allows you to apply an inset/outset box shadow, its color, spread, blur radius and offset.
- Padding: With this option you can control the padding on each side of the block individually or all at once.
- Margin: With this option you can control the margin on each side of the block individually or all at once.
Notice that the Font Size, Padding and Margin options have three icons next to their label. These are the Desktop, Tablet and Mobile icons. By clicking each icon you can separately modify the control’s values for each device.
Predefined Templates
![](jpg/gb_button_pt.jpg)
Under the Predefined Templates tab you can choose from pre-built button sizes and button styles for easier button creation. Available button sizes are extra small, small, medium and large. Available button styles are normal and outline.
Visibility Settings
![](jpg/gutenbee-visibility-settings.jpg)
Via the Visibility Settings you can hide the block for certain type of device or user.
The Viewport visibility toggles allow you to hide the block on desktops, tablets and mobiles. You can choose to hide it on more than one device type.
The Authentication visibility toggles allow you to display the block only to logged in or logged out users.
Animation Settings
![](png/image.png)
Via the Animation controls panel you can set up how you want the block to animate upon entering the viewport as your visitors scroll.
- Animation type: Choose the animation type for the block. You can select from Fade, Slide Up / Down / Left / Right, Zoom In / Out, and Flip Up / Down / Left / Right. Set to None if you want to disable the animation.
- Duration: Controls how long the animation will take from start to finish. Defaults to 0.7 seconds.
- Delay: Controls the delay from the moment the element enters the viewport to the moment when the animation will begin.
- Easing: Controls the animation’s easing. Refer to the easings page for a visual representation.
- Repeat animation: Repeat the animation for the block every time it enters the viewport. While your users scroll down the animation will fire, and when they scroll back up it will fire again. Every time the block leaves the viewport the animation will be reset.
Note: If you don’t plan on using animations you can turn them off globally in Settings > GutenBee settings. You can disable the “Enable block animation controls” checkbox and the animation panels and scripts will stop showing up and loading.