Re: Disable side-boxes on mobile devices diy template
Not sure how it's made on responsive template... I think there are some stuff to control layout, but 2 things
If you only want to hide it on certain device screen, you should use media query
@media screen and (min-width: WHATEVER_WIDTHem) {
// your css dont display
}
Or use the $detect->isMobile() (There are some example on the main_page responsive template )
And also, there is a variable: $this_is_home_page that checks if you're on home page
So
if ($this_is_home_page) {
}
“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison
Bookmarks