+ 1

How to hide html elements using PHP in mobile

I have created a bootstrap slider and want to hide it in mobile. What should i use to solve this problem?

15th Feb 2017, 7:08 PM
Fenil Shah
Fenil Shah - avatar
3 odpowiedzi
+ 5
you can do that with CSS and media queries. here's an article with explanations: https://www.smashingmagazine.com/2010/07/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/
15th Feb 2017, 7:18 PM
Mario L.
Mario L. - avatar
+ 3
I'm not user of Bootstrap, but it seems to me that searching in Bootstrap documentation will be more simplier, as I believe there are just some specific class names to add or remove to achieve this goal ^^
15th Feb 2017, 7:31 PM
visph
visph - avatar
0
thank you
15th Feb 2017, 7:23 PM
Fenil Shah
Fenil Shah - avatar