Okay, I've seen a lot of answers but I still could not get this correctly.
I have this green column in which there are 2 smaller columns:
I need to make the yellow column in the center.
Like this:
I tried multiple methods, but none work. Of course margin-top works, but then the mobile screen is not ok. I know that there is a simple solution out there.
Here is the HTML:
<div class="container-fluid bg-success" style="margin-bottom: 50px; margin-top: 50px;">
<div class="container">
<div class="row">
<div class="col-lg-12">
<!-- LEFT SIDE - Easy Cafe -->
<div class="col-lg-7 bg-warning">
<center class="jumbotextstyle">
<div style="font-size: 100px;"> Easy Cafe <br> </div>
<hr width="50%" style="border: 1px solid black; margin: 10px;">
Makes ordering easier
</center>
</div>
<!-- RIGHT SIDE - Picture-->
<div class="col-lg-5 bg-danger">
<center>
<img src="images/s8.png" class="img-responsive" alt="mobilepicnotworking">
</center>
</div>
</div>
</div>
</div>
CSS:
.jumbotextstyle{
font-size: 250%;
}