Jump to content

detect if user is on mobile device


Go to solution Solved by Sonya*,

Recommended Posts


I have button like

<a href='' id='' class='class A'></a>

and I need to change this class if user is using mobile version. What is the best way to do it?


<a href='' id='' class='if mobile then class A else class B'></a>


Edited by teez
Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...