Henning,
I had created a test page,
webbering.com/test-page
, which reflected problems with the 'visible-large', 'hidden-large' and 'hidden-desktop' class. However, once I read the post from 'genegun' above, I downloaded the 4.1.16 version of the Gantry template, extracted and uploaded the 'mediaqueries.less' file in the 'less' folder. That resolved the 'visible-large' and 'visible-hidden' problem. However, the 'visible-desktop' and 'hidden-desktop' was still displaying and not displaying properly on the 'large' display (min-width: 1200px). In looking at the code in the mediaqueries.less file, it had been edited incorrectly. I swapped the declarations for '.visible-desktop' and '.hidden-desktop'. This works as you can see on my test page. First time I've ever gotten it to work completely! :cheesy:
// Large Mode
@media only screen and (min-width: 1200px) {
.visible-large {
display: inherit !important;
}
.hidden-large {
display: none !important;
}
.visible-desktop {
display: none !important;
}
.hidden-desktop {
display: inherit !important;
}
}
These changes will also have to be made to the 'mediaqueries.css' file in the 'css-compiled' sub-folder.
You might want to pass on this code change to the developers.
What this tells me is that simply updating a template does not update properly as this is a template that I have updated to the most recent version several times over the past year and a half. This is a fundamental problem that should be corrected. All core files should be updated period as custom files would not be affected. Apparently, it has not been updating the mediaqueries.less file.
Thanks to 'genegun' for making me aware of this problem.
Luke