olwenbishop18 Posted November 24, 2023 Posted November 24, 2023 Hi All, I need help adding my mobile number into my site header section. The version I'm using has a appointment button and social link but I can't add a mobile number which is important. Any help would be amazing. This is not my forte at all. Please help Olwen
tuanphan Posted November 26, 2023 Posted November 26, 2023 Hi, Just a phone number or phone number + make it clickable (open app on mobile)? What is site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
tuanphan Posted Friday at 02:44 AM Posted Friday at 02:44 AM Follow this to add phone to header Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Squareko Posted Saturday at 10:03 AM Posted Saturday at 10:03 AM Add this code into pages > web tools > code injection > footer: <script> document.addEventListener('DOMContentLoaded', function () { // Find the header container var header = document.querySelector('.header-display-desktop'); if (header) { // Create a new span for the phone number var phoneNumber = document.createElement('span'); phoneNumber.textContent = 'Call us: (123) 456-7890'; // Replace with your actual phone number phoneNumber.classList.add('phone-number-style'); // Add a class for styling // Append the phone number to the header header.appendChild(phoneNumber); } }); </script>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment