Advanced Button Block

The Advanced Button block is based on the default Button block in Gutenberg.

This improved version of the button block has tons of extra features including advanced styling such as hover, margin, border, padding, shadows and more.


Video guide to the Advanced Button Block


How to create the Advanced Button block

You can create an Advanced Button by clicking its button in the PublishPress Blocks section.

Screen Shot 2020 12 10 At 12.17.37
Screen Shot 2020 12 10 At 12.18.02

Settings for the Advanced Button block

In the right sidebar, you can adjust some settings for the Advanced Button block:

The Styles area gives you 4 predefined styles:

  • Default
  • Outlined
  • Squared
  • Squared Outline

The Button link area gives you 2 choices:

  • Link URL
  • Open in new tab: On/Off.

Text size and colors in the Advanced Button Block

There are three options for customizing the test size, background color and text color for the button:

  • Text size
  • Background color
  • Text color

Borders in the Advanced Button Block

There are 4 customization options for the color and style of the borders of your buttons:

  • Border radius
  • Border style: solid, dotted, ridge,…
  • Border Color
  • Border width

Margin and padding in the Advanced Button Block

You can control the margin and padding for all four sides of your button:

  • Margin: top, right, bottom and left.
  • Padding: top, right, bottom and left.

Hover effects in the Advanced Button Block

You can can choose settings that control what visitors see when they hover over your buttons:

  • Color Settings:
    • Background color
    • Text color
    • Shadow color
  • Shadow:
    • Opacity
    • Transition speed
    • Shadow H (horizontal) offset
    • Shadow V (vertical) offset
    • Shadow blur, spread)
    • Shadow spread


Nofollow and noreferrer support (Pro)

Add nofollow and noreferrer to rel attribute to your buttons. Look for the “Link rel” panel.

Advanced Button - PublishPress Blocks

Google font support (Pro)

Choose between 1400 available Google fonts to customize the button text. Look for the “Font” panel.

Advanced Button - PublishPress Blocks
  • Font family. Choose between 1400 available Google fonts
  • Font weight + Style. (when Font family is different to “default”)

Icon support (Pro)

You can add icons to your Advanced Buttons. Do it through the “Icon” panel in the sidebar.

Advanced Button - PublishPress Blocks , icon
  • Display icon
  • Icon library (Material icon)
  • Icon size (px)
  • Icon color. Leave blank to use the same color from the text button.
  • Icon position
  • Icon spacing. Spacing between icon and text.
Advanced Button - PublishPress Blocks , icon

Default settings for all your Advanced Button blocks

You can set default options for every Advanced Button block added to your site. This is possible with the Default Blocks Config feature and it allows you to create a consistent look-and-feel for all your buttons.

  • Go to PublishPress Blocks in your WordPress admin menu.
  • Click Configuration, then Default Blocks Config.
  • Click Advanced Button.
Screen Shot 2020 12 10 At 12.18.51

Professional publishing plugins for WordPress! Get PublishPress