Jump to content

detect if user is on mobile device


teez
 Share

Go to solution Solved by Sonya*,

Recommended Posts

hello. 

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>

regards

Edited by teez
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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