I am wanting to hide my footer on mobile and tablet devices. I have looked all over google for some help but haven't found anything. The HTML code for my footer is,
<!-- Footer -->
<footer class="footer" role="contentinfo">
<div class="container<?php echo ($params->get('fluidContainer') ? '-fluid' : ''); ?>">
<jdoc:include type="modules" name="footer" style="none" />
<div class="footer">
© <?php echo date('Y'); ?> <?php echo $sitename; ?>
</div>
CSS code for my footer is,
.footer {
background-color: #F6861F;
color: #fff;
padding: 20px 0;
margin-bottom: 0
text-align: center;
overflow: hidden;
width: 100%;
}
After the mobile first strategy you should first hide the footer and then display it for desktops only.