I have a phone number at the top of my website, the number is 1300 GO POOPIES. (e.g. goals: P)
<h1 class="phone-text"> <a href="tel:+6113007667437">1300 GO POOPIES</a> </h1>
So basically, when a person hovers over 1300 GO POOPIES, he changes to 1300 46 7667437.
I do not want to use the image, since I want to keep the call-to-call functionality.
I tried to do something with CSS, but with minimal success.
.phone-text::after { content: "1300 GO POOPIES"; } .phone-text:hover:after { content: "1300 76 67437"; }
not sure if this goes beyond css and needs java ...
Ushka source share