I would like a message to be shown to users who enter on my site from a for example < 1100px width screen resolution.
Can somebody PLEASE help me with this.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
here’s an article that detects the viewport (the space of the inside of the browser) rather than the screen size.
as for Joomla, i insert “quick fix scripts” inline, or externally linked, into the template that is currently in use.
provided in that snippet in the article, you have 2 variables you can use:
viewportwidthandviewportheightif you want to alert if width
< 1300, insert this after the script provided above: