I'm developing a website as a portifolio, I'm using wordpress and bootstrap, I created a div and inside it I put an img tag with the background image of this div, but now I want to put an image of my logo superimposed on the background, using some properties from css until I can put it superimposed but I can not align it to the center
My code looks like this:
<div class="img-fundo">
<img class="img-logo" src="<?php bloginfo('template_directory') ?>/assets/images/logo.jpg" alt="">
<img class="img-fundo img-responsive" src="<?php bloginfo('template_directory') ?>/assets/images/header.jpg" alt="">
</div>
css looks like this:
.img-fundo{
display: block;
}
.img-logo{
position: absolute;
magin-left: auto;
margin-right: auto;
}
It overlaps but does not line the center. how should I proceed?