I have just started using Gantry and purchased two templates (Clarity and Denali).
It seems there is no breakpoint css in Gantry i.e at this width be 40%, and at that width be 50%.
I have searched the docs and it seems to suggest that responsive behaviour is not a feature of Gantry except visbility
Re: SOLVED Responsive widths based on media queries
Posted 4 years 9 months ago
Huh? you set the width on the layout of your outline (expressed as percentage) and that obviously varies in absolute px amount dependent upon viewport width. If you want do do your own responsive grids with your content then
http://docs.gantry.org/gantry5/advanced/responsive-content
.
The media queries are used in conjunction with your own CSS statements:
Media queries work like this:
if the viewport size is xxxxx then
use this css
endif
You should not really be setting widths within the mediaqueries - gantry takes care of this for you.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED Responsive widths based on media queries
Posted 4 years 9 months ago
I gave you the link to the gantry equivalents already. Unless you're choosing to write your own html though there us no need, just set the layout as you desire on the layout tabbof your outline in gantry 5 admin.
Regards, Mark
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.