My goal is to create a footer design using Bootstrap that looks like this:
https://i.sstatic.net/7xsKg.png
I've successfully set up the left column (Red Background) of the footer, but I'm having trouble styling the right column (Black Background). When I try to set the height to 70%, it shrinks to fit the content. I understand this is related to not setting a height for the parent container. How can I set a fixed height while maintaining responsiveness? Would media queries be the solution?
Additionally, when I use display: flex for the right-column containing two rows (links and white logo), the rows are displayed as columns next to each other. If I don't do this, the content alignment doesn't work correctly.
Can anyone provide assistance with this issue? It seems like there's something important about grid systems and display utilities that I may have missed.
This is how it currently appears:
https://i.sstatic.net/JNmGT.png
Here is my code:
<footer class="mt-auto" role="contentinfo">
<div class="container-fluid h-100">
<div class="row footerContainer d-flex h-100">
<div class="footerLeftCol col-12 col-md-7">
<div class="row pl-5 justify-content-center">
<div class="col-12 mt-3 mb-3"><img
src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_white.png"></div>
</div>
<div class="row align-items-center text-center">
<div class="col-12 col-md-6 contactColLeft">
</div>
<div class="col-12 col-md-6">
</div>
</div>
<div class="row text-center mt-3 pb-3">
<div class="col-12">
<a><i class="fab fa-instagram fa-lg mr-2"></i></a>
<a><i class="fab fa-facebook-square fa-lg"></i></a>
</div>
</div>
<div class="col-md-12 copyright">
<p class="text-center pt-2">© Copyright <?php echo date( 'Y' ); ?> - All rights
reserved.</p>
</div>
</div>
<div class="footerRightCol d-flex col-12 col-md-5">
<div class="row text-center align-items-center justify-content-center ">
<div class="col-12 flex-grow-1">
<h4> Impressum </h4>
<h4> Datenschutz </h4>
<h4> Sitemap </h4>
</div>
</div>
<div class="row flex-grow-1 justify-content-end mr-3 mt-auto text-center">
<div class="col-6">
<h4> Designed by </h4>
</div>
<div class="col-6">
<img src="<?php echo get_stylesheet_directory_uri()?>/images/logo_fewture.png" style="height: 50px">
</div>
</div>
</div>
</div>
</div>