I bought a responsive website template that I'm trying to edit. I would like to put a search box that I get from another affiliate site, using <script>
code, this search box is having a set width and height and it is not responsive.
My website looks fine in desktop but not in mobile version. How can I add IF statement to my html file to replace the <script>
for search box with another one based on screen size of viewer.
simply I want to replace <script .....></script>
with another one if the visitor is browsing from mobile device.
Thanks