0
Guys, I’ve tried several ways, but the image is not centering. Follow below the code to better understand the problem:
.logo2 {
color: pink;
position: absolute;
margin: 0 auto !important;
float: none !important;
z-index: 1001;
border-radius: 100%;
text-align: center;
}
<div class = "container">
<div class = "row">
<div class="col-md-12 logo2">
<a href="#">
<img src="https://i.stack.imgur.com/Go65r.png" class="img-responsive"/>
</a>
</div>
</div>
</div>
Fixing CSS: . logo2 { color: pink; position: Absolute; margin: 0 auto ! Important; float: None ! Important; z-index: 1001; border-Radius: 100%; text-align: center; }
– Renan Bessa
Renan can you explain why the question and the answer have the same CSS? It is not very logical to ask a question that is right and give the same answer. You can explain it better?
– Jorge B.
Sorry Jorge. It is pq I found that I had not put all the CSS code in the question. My mistake!
– Renan Bessa
Renan no problem, when so can [Edit] the question and add or change what you need.
– Jorge B.