Button Element

16/10/2019

The Button Element allows you a variety buttons on your site, with a huge array of options. Choose from 4 sizes, flat or 3D style, unlimited colors, border widths, border radius, icons, dividers and animations, as well as buttons that open modal popups. Read below for an overview of the specific features of the Element.

Get Started
Buy Now
Buy Avada Now
Learn More
Get it now!
View Element Demo Page!
For privacy reasons YouTube needs your permission to be loaded. For more details, please see our Privacy Policy.
I Accept

How To Use The Button Element

Buttons are amazingly useful on a website. You can use them in so many ways. They can link to a website, they can open another page on your own site, they can even open a Modal dialog. You can use them in page content, widget areas, or even in menus. They can be full width, different sizes and colors; the options are almost endless. Let’s see how we insert one into a page.

Step 1. Edit an existing page. Ensure the Fusion Builder is activated, by clicking the ‘Use Fusion Builder’ button on top of the page editor.

Step 2. Choose the Container you wish to add the Button into. Click on Add new Element, at the bottom of the content in the Container.

Step 3. Choose Button from the Elements List.

Step 4. The General Tab is the place to set the links, button text, alignment, and other practical options. The first step is to add the link that the Button will open. This can be a URL, local content, or a Modal dialog. To use a Modal, add the class name of the Modal Window you want to open in the Modal Window Anchor section. For more details on Modals, see the link below. Next, fill out the Button Text (what you want to display on the button) and move down the options.

Step 4. The next step is to design you Button. On the Design Tab, you will find a huge variety of styling options, from color style presets, width, size, border radius and icon options.

Step 5. The Animations found in the Extras Tab can also be used to animate the entry of the button onto the page. There are 7 animations to choose from.

Step 6. Click Save when you are finished customizing your Button. It will appear in the row of the Container you added it to. Preview the page to view, and you can always come back and edit the Button to fine tune the look and function.

Read below for a detailed description of all element options.

Element Options

Location: The edit screen within each Element.

You can deploy as many individual Elements in pages and posts as you need, there is no limit. Within each of the Elements you will see a tab or tabs that house an array of options that make it possible for you to configure each Element independently, and greatly enhance your flexibility and creative options.

Note: The Default setting will use the global settings assigned for this element in your Theme Options > Fusion Builder Elements > Button Element section.

General Tab

  • Button URL – Add the URL that the Button will link to here, ex: https://example.com.

  • Button Text – Add the text the Button will display here.

  • Text Transform – Choose how the text on the Button is displayed, in either Normal (as written) case or Uppercase. Your Default setting is chosen in the Theme Options (Avada > Theme Options > Fusion Builder Elements > Button)

  • Button Title Attribute – Set a title attribute for the Button Link. This will show on hover.

  • Button Target – Use this setting to choose how the Button target URL is opened. Options are _self, _blank, and Lightbox.  _self means it opens in the same browser tab, while _blank means it opens in a new browser tab. Lightbox will open item in pop up window.

  • Button Additional Attributes – Here you can add additional attributes to the anchor tag. Separate attributes with a whitespace and use single quotes on the values, doubles don’t work. If you need to add square brackets, [ ], to your attributes, please use curly brackets, { }, instead. They will be replaced correctly on the frontend. ex: rel=’nofollow’.

  • Alignment – This setting controls the button’s alignment in the container it is in. Choose from  text Flow, Left, Right and Center.

  • Modal Window Anchor – Add the class name of the modal window you want to open on button click. Note: A Modal Element must be added to the same page as the button.

  • Element Visibility – Allows you to control the Element’s visibility. Choose one or more between Small Screen, Medium Screen, or Large Screen.

  • CSS Class – Allows you to add a class for the Element.

  • CSS ID – Allows you to add an ID for the Element.

View The Options Screen

Design Tab

  • Button Style – Select the button’s color. Select default or color name for theme options, or select custom to use advanced color options below.

  • Button Gradient Top Color – Controls the top color of the button background. Leave empty for the default value.

  • Button Gradient Bottom Color – Controls the bottom color of the button background. Leave empty for the default value.

  • Button Gradient Top Hover Color – Controls the top hover color of the button background. Leave empty for the default value.

  • Button Gradient Bottom Hover Color – Controls the bottom hover color of the button background. Leave empty for the default value.

  • Button Accent Color – Controls the color of the button border, divider, text, and icon. Leave empty for the default value.

  • Button Accent Hover Color – Controls the hover color of the button border, divider, text, and icon. Leave empty for the default value.

  • Button Type – Controls the button type. Choose from Default, Flat, or 3D.

  • Button Bevel Color For 3D Mode – Controls the bevel color of the button when using 3D button type. Leave empty for the default value.

  • Button Border Width – Controls the border width. In pixels.

  • Button Size – Controls the button size. Choose from Default, Small, Medium, Large, or X-Large.

  • Button Span – Controls if the button spans the full width of its container.

  • Button Shape – Controls the button shape.

  • Icon – Select an icon to show on the button. Click to select, click again to deselect.

  • Icon Position – Choose the position of the icon on the button. Choose from Left or Right.

  • Icon Divider – Choose to display a divider between icon and text.

View The Options Screen

Extras Tab

  • Animation Type – Controls the column’s animation type. Choose between None, Bounce, Fade, Flash, Rubberband, Shake, Slide, or Zoom.

  • Direction of Animation – Controls the direction of animation on the column. Choose between Top, Right, Bottom, Left, or Static.

  • Speed of Animation – Controls the speed of animation on the column. Choose between 0.1 to 1.

  • Offset of Animation – Controls when the animation will start. Choose between Default, Top of element hits bottom of viewport, Top of element hits middle of viewport, or Bottom of element enters viewport.

View The Options Screen

Global Options

Location: WordPress Dashboard > Avada > Theme Options > Fusion Builder Elements > Button Element

The Avada Advanced Options Network gives you amazing flexibility with additional Global Options that allows you to control individual Elements en masse.

  • Button Size – Controls the default button size. Choose from Small, Medium, Large, or X-Large.

  • Button Span – Controls if the button spans the full width of its container. This overrides the width, but not the height, of the above options.

  • Button Type – Controls the default button type. Choose from Flat, or 3D.

  • Button Typography – These settings control the typography for all button text.

  • Text Transform – Controls how the text is displayed on the button. Choose from Normal, or Uppercase.

  • Button Gradient Top Color – Controls the top color of the button background.

  • Button Gradient Bottom Color – Controls the bottom color of the button background.

  • Button Gradient Top Hover Color – Controls the top hover color of the button background.

  • Button Gradient Bottom Hover Color – Controls the bottom hover color of the button background.

  • Button Bevel Color for 3D Mode – Controls the bevel color of the buttons when using 3D button type.

  • Button Border Size – Controls the border size for buttons. In pixels.

  • Button Border Radius – Controls the border radius for buttons. In pixels.

  • Button Border Color – Controls the border color for buttons.

  • Button Border Hover Color – Controls the hover border color for buttons.

View The Options Screen

Button Element Parameters

Copy to Clipboard
  • link – The URL you want the button to link to. For example, http://www.example.com/.
  • text_transform – Select how the text is displayed, Choose from Default, Normal or Uppercase.
  • title – Set a title attribute for the button link. For example, Home.
  • target – Choose from _blank or _self. Choose _blank to open the link in a new window, or _self to open it in the same window.
  • link_attributes – This allows you to add additional attributes to the anchor tag. e.g. rel=’nofollow’
  • alignment – Choose from left, center, or right. Sets the button’s alignment.
  • modal – The unique class name of the Modal Element the button will trigger. Learn more here.

  • hide_on_mobile – Choose from small-visibility, medium-visibility or large-visibility. You can select more than one setting. This will show the element on the selected visibility options, and will hide them on the deselected ones.
  • class – Add a custom class to the wrapping HTML element for further css customization.
  • id – Add a custom id to the wrapping HTML element for further css customization.

  • color – Choose from default, custom, green, darkgreen, orange, blue, red, pink, darkgray, or lightgray. You can also use your custom color schemes. Sets the button’s color theme.

  • button_gradient_top_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button background’s top gradient color.
  • button_gradient_bottom_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button background’s bottom gradient color. Leave blank for solid color.
  • button_gradient_top_color_hover – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button background’s top gradient color when hovered.
  • button_gradient_bottom_color_hover – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button background’s bottom gradient color when hovered.
  • accent_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0). Sets the button divider, text and icon color.

  • acccent_hover_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button border, divider, text and icon hover color.

  • type – Choose from default, flat, or 3d. Sets the button’s type.
  • bevel_color – Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0) ). Sets the button’s bevel color when set to 3D.
  • border_width – Accepts pixel values, for example, 1px. Sets the border width.
  • border_radius – Set the border radius of the button. In pixels, from 0-50.

  • border_color – Set the border color. Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0).

  • border_hover_color – Set the border hover color. Accepts a hexcode ( #000000 ) or RGBA ( rgba(0,0,0,0).

  • size – Choose from default, small, medium, large, or xlarge. Sets the button’s size.
  • stretch – Choose from default, yes, or no. Enables or disables the button spanning the full width of it’s container.
  • icon – A font awesome icon value. For example, fa-glass.
  • icon_position – Choose from left, or right. Sets the icon’s position on the button.
  • icon_divider – Choose from yes, or no. Show or hide a divider between icon and text.
  • animation_type – Choose from none, bounce, fade, flash, rubberBand, shake, slide, or zoom. Sets the animation to use on the element.
  • animation_direction – Choose from down, right, left, up, or static. Sets the animation’s incoming direction.
  • animation_speed – Accepts a numerical value from .1 (fastest), to 1, (slowest).
  • animation_offset – Choose from default, top-into-view, top-mid-of-view, or bottom-in-view. Sets when the animation starts.
  • custom content – Insert the custom title between the
    Copy to Clipboard

    tags.