I have unsuccessfully tried to show and hide a class called "min_footer". I want that class to be hidden if the width of the browser is greater than 880 and if the width is equal to or less than 880 the class must show its contents.
The code is as follows:
@media only screen and (min-width: 880px) {
.min_footer {
display: none !important;
}
}
@media only screen and (max-width: 880px) {
.min_footer {
display: block !important;
}
}
<div class="min_footer">
<?php include ("min_footer.php"); ?>
</div>
I have another half query that works without problems with an almost identical code, so I ruled out that the problem is due to use of the PHP "include".
The web in question is this: ishameetings.cl and the class "min_footer" is at the bottom of that web page. On the other hand by decreasing the width can be checked that the content does not want to be displayed.
Any suggestions are grateful.