Hello @bodytayb
Thank you for contacting us, you can use the link with tel: with the phone number you can further style the link using custom classes
eg:
<a href="tel:+1234567890">📞</a>
thanks for replying, But i mean showing the button fixed on the right corner for example, as the fixed call button
Hello @bodytayb
This is easy with little CSS and HTML you can add the call now button.
Add the following code in your active themes functions.php file
add_action( 'wp_footer', 'add_floating_call_button' );
function add_floating_call_button() {
?>
<a href="tel:+1234567890" class="float">📞</a>
<?php
}
Now add the following CSS in Appearance->Customize->Additional CSS
.float{
position:fixed;
width:60px;
height:60px;
bottom:40px;
right:40px;
background-color:#0C9;
color:#FFF;
border-radius:50px;
text-align:center;
box-shadow: 2px 2px 3px #999;
display:flex;
align-items:center;
justify-text:center;
text-decoration:none;
}
Update CSS styling as per your theme’s color preference.
@bodytayb As we didn’t receive a response I will mark this as resolved. Feel free to open a new support topic if you continue to encounter issues.