Home › Forums › CSS › Problem with footer › Reply To: Problem with footer
I’ve tried media queries but it didn’t really help. Those are my codes:
if(is_active_sidebar(‘footer-sidebar-1’)){
dynamic_sidebar(‘footer-sidebar-1’);
}
?>
if(is_active_sidebar(‘footer-sidebar-2’)){
dynamic_sidebar(‘footer-sidebar-2’);
}
?>
if(is_active_sidebar(‘footer-sidebar-3’)){
dynamic_sidebar(‘footer-sidebar-3’);
}
?>
</footer> <!– #colophon –>
<!– #page –>
<?php wp_footer(); ?>
</body>
</html>
div class= “my-copyright”>COPYRIGHT © 2016 BIGGER THAN LIMITS – ALL RIGHTS RESERVED div>
and CSS:
#footer-sidebar {
border-top: 1px solid #dedede;
margin-top: 90px;
display:table;
height: 250px;
padding: 10px 0 10px 0;
}
#footer-sidebar1 {
float: left;
width: 340px;
margin-left:5px;
margin-right:5px;
}
#footer-sidebar2 {
float: left;
width: 340px;
margin-left:5px;
margin-right:5px;
}
#footer-sidebar3 {
float: left;
width: 340px;
margin-left: 5px;
margin-right:5px;
}
.my-copyright {
width: 100%
float: bottom;
font-size: 70%;
text-align: center;
margin-right: 3%;
margin-bottom: 10px;
}