Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1306351

    Hi
    I’ve got a bit of a query and i’m not sure how possible it is.
    I want to use the top bar on the header, but depending on whether the user is browsing on a desktop or mobile, i want it to do different things.

    If the user is on a desktop, I want the content in the top bar to link them to the contact page; and if its on a mobile, I want it to dial the contact number

    Can that be done?

    #1306530

    Hey farzanahmed,
    Thank you for your patience and the link to your site, but as I examine it looks like you have already found the solution.
    Was there anything further you wanted help with this?

    Best regards,
    Mike

    #1307130

    Hi Mike

    To be honest, I think I fluked that lol.

    I’ve just checked and you’re right, it is working – is there any way of having the phone number on a separate line on mobile view though?

    Thanks
    Farzan

    #1307135

    Hi,
    Very good then, try using a <br> befor the link or in the link like this:
    <a class="tubzee-phone-mobile" href="tel:5555555"><br>555-5555</a>

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.