Hi, I’m new to Wordpress web development and I am totally amazed by the fantastic support you guys offer for the Sydney Theme - I have made many many corrections based on your forum contributions. Thank you so much.
The question I have relates to the main slider CTA (call to action) button. I’d like it to read ‘Call Us’ if the website is being viewed on a mobile phone, with the action being to dial a specific phone number. If the website is viewed on a laptop then I’d like the CTA button text to be ‘Contact Us’ with the action being to take the user to a Contact Details page.
I have managed to create 2 CTA buttons for the main page (following info from other forum posts), and I am currently presenting BOTH a ‘Call Us’ and a ‘Contact Us’ button - the ‘call us’ obviously doesn’t do very much on a desktop computer :). I’d like to either hide one of these depending on the screen size (device) being used, or I’d like to re-do as a single button which contained conditional logic.
Can you please help?
Thanks in advance.