Change FAB color

You can change the FAB color by using the snippet below. Just replace the Bootstrap button color class to the one you desire.

Code Example

/**
 * Change FAB color.
 *
 * @param string $fab_button_icon FAB button icon.
 */
add_filter( 'conversions_fab_color', 'conversions_change_fab_color' );
function conversions_change_fab_color( $color ) {

    // Add Bootstrap button color class.
    $color = 'btn-primary';

    return $color;
}