-
- 204 Posts
Has anyone here had any experience with responsive templates? I would like to include a gallery into a new site with a responsive design (adapts to mobile device), but dont know what needs to be done to update the e2g templates to work :/
Generally speaking, it's all in the CSS. Just examine the CSS for a standard page, and modify as appropriate for the media queries in your responsive CSS.
For example, you should use max-width for images, and where you find "float" directives in full-screen styling, specify "float:none" where a smaller screen needs everything lined up vertically.
There are any number of articles and tutorials about this sort of thing; here's one I like
http://webdesignerwall.com/tutorials/5-useful-css-tricks-for-responsive-design/comment-page-1
-
- 204 Posts
Thanks for the info, I will take a look and see if I can figure it out.
-
- 384 Posts
Ate you new to responsive sites or new to MODX?
...
Lately I've taken to installing the
Bootstrap template add-on as soon as I get my Revo installed.