Add icon to fullwidth FAB

You can add an icon to the fullwidth FAB by using the snippet below. Just change the $fab_button_icon variable to the icon you desire.

Code Example

/**
 * Add icon to fullwidth FAB button.
 *
 * @param string $fab_button_icon FAB button icon.
 */
add_filter( 'conversions_fab_fullwidth_icon', 'conversions_fab_add_icon' );
function conversions_fab_add_icon( $fab_button_icon ) {

    // Add download icon to full width fab button.
    $fab_button_icon = '<i class="fas fa-download"></i> ';

    return $fab_button_icon;
}

Get started today!

Conversions is on mission to improve the future of web. Are you ready to join us?

Download