Hi,
Please put this custom css code functions.php of child theme :
<?php
remove_shortcode( 'sf_button' );
/* BUTTON SHORTCODE
================================================== */
function sf_button_new($atts, $content = null) {
extract(shortcode_atts(array(
"size" => "standard",
"colour" => "",
"type" => "",
"link" => "#",
"target" => '_self',
"dropshadow" => '',
"icon" => '',
"extraclass" => ''
), $atts));
$button_output = "";
$button_class = 'sf-button '.$size.' '. $colour .' '. $type .' '. $extraclass;
if ($dropshadow == "yes") {
$button_class .= " dropshadow";
}
if ($type == "sf-icon-reveal" || $type == "sf-icon-stroke") {
$button_output .= '<a rel="nofollow" class="'.$button_class.'" href="'.$link.'" target="'.$target.'">';
$button_output .= '<i class="'.$icon.'"></i>';
$button_output .= '<span class="text">'. do_shortcode($content) .'</span>';
$button_output .= '</a>';
} else {
$button_output .= '<a rel="nofollow" class="'.$button_class.'" href="'.$link.'" target="'.$target.'"><span class="text">' . do_shortcode($content) . '</span></a>';
}
return $button_output;
}
add_shortcode('sf_button', 'sf_button_new');
?>
Thanks 🙂
With Best Regards
Swift Ideas