PHP if statement if screen is below 767px show a static image instead
-
Hi,
I need a php if statement that will display a static image rather than the one currently shown if the screen is below a certain px range.
For example, something like this
if ( below 767px) { echo '<img src="https://placehold.it/50x50">'; } else { echo { the normal rotating image slider }
Sorry I can’t provide much more information, i hope someone can help me please.
Much appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP if statement if screen is below 767px show a static image instead’ is closed to new replies.