Hi,
thanks for your effort!
I’ve been testing a little more and I think the problem with the Hide During Breakpoints feature is not only related to the gaps. I also set the title of the page to disappear on XS and S sized screens and it should appear on M, LG and XL. But just like the gaps it appears on exactly 767px, even though that, according to cornerstone, is already an S size screen and should disappear.
The problem only appears at the following breakpoints: 767px, 979px and 1199px. There doesn’t seem to be a problem with the breakpoints between XS and S.
Also, I thought the first code Lely sent worked but actually it doesn’t fix the problem. I tried it again, also with custom classes, but instead of showing all gaps it then shows nothing at all.
I disabled the theme’s hiding feature and I’m just using the CSS code and classes on those elements now.
This is the CSS code:
@media (max-width: 1200px) and (min-width: 980px){
.custom-hide-1200{
display:none !important;
}
}
@media (max-width: 980px) and (min-width: 768px){
.custom-hide-980{
display:none !important;
}
}
@media (max-width: 768px) and (min-width: 481px){
.custom-hide-768{
display:none !important;
}
}
@media (max-width: 481px){
.custom-hide-481{
display:none !important;
}
}
Hope that helps.