-1
I would like to know how I can align the Divs of the image below:
I’m using bootstrap, and this Templete already came with this login box on the right side. I’m having trouble positioning this other div with the text next to the login. Follow the code:
<div class="section-banner">
<div class="text-banner">
<div class="titulo">
<h2>Plataforma Recode</h2>
<h3>Reprogramar para Transformar </h3>
</div>
</div>
<br />
<br />
<br />
<br />
<br />
<div class="col-md-5" style="font-color: white;">
</div>
<div class="container" >
<div class="row">
<div class="col-md-12">
<?php if($this->settings->info->install) : ?>
<div class="row">
<div class="col-md-12">
<div class="alert alert-info"><b><span class="glyphicon glyphicon-warning-sign"></span></b> <a href="<?php echo site_url("install") ?>">Great job on uploading all the files and setting up the site correctly! Let's now create the Admin account and set the default settings. Click here! This message will disappear once you have run the install process.</a></div>
</div>
</div>
<?php endif; ?>
<?php echo $content ?>
</div>
</div>
</div>
<br />
</div>
css file
.section-banner {
background: url(../images/bg.png) no-repeat fixed;
min-height: 480px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.text-banner {
width: 500px;
float: left;
text-align: center;
padding: 3% 4%;
background-color: #7a5eaa;
}
.titulo h2 {
font-size: 2.5em;
color: #fff;
font-weight: 700;
}
.titulo h3 {
font-size: 1.5em;
color: #fff;
font-weight: 300;
}
Yes, it is the "text-banner" I want it to be on the left, and the login on the right. The two Divs are in a parent div, the so-called "Section-banner". Only I’m not getting to align the two
– Júlio César
Got it, I’ll put another answer then.
– Leo