0
I need to align some elements on a page and I’m not getting, I’ve done some tests how to use the text-align:center
in class pull-right
as well as in the header-features
according to examples I read, but without success.
What I got is this:
<!-- ALINHA CONTEÚDO -->
<div class="row">
<div class="col-md-12">
<!-- CLASSE ONDE O CONTEÚDO ESTÁ -->
<div class="pull-right">
<ul class="header-features">
<li><i class="fa fa-bullhorn"></i>
<div class="header-feature-caption"> <img src="img/caixa.jpg" width="108"> </div>
</li>
<li><i class="fa fa-hand-o-right"></i>
<div class="header-feature-caption">
<h5 class="header-feature-title">ANUNCIAR IMÓVEIS</h5>
<p class="header-feature-sub-title">clique aqui</p>
</div>
</li>
</ul>
</div>
</div>
</div>
And their CSS is these:
.pull-right { float: right !important; } .header-features { list-style: none; margin: 0; padding: 0; }
What I’m trying to do is this:
The project can be seen here: Demo Page
If the site is in some online file, please pass the link, because I can try the changes and pass you something concrete, in case the above instructions do not work!
– Gabriel Garcia
Hello @Gabriel Garcia, I just put online, I’m a little confused on this change, if you can help me thank you.
– adventistapr
I had misunderstood, I thought I wanted to line up on the right, in case you in the center Neer?
– Gabriel Garcia
That’s right @Gabriel Garcia, in the center, as in the image posted as example.
– adventistapr
Thanks @Gabriel Garcia, got exactly as needed, great help.
– adventistapr