I have this page:
I want to align and center this logo in the picture below
CODE HTML:
<span class="logo">
<a href="http://dizievents.ch"><img src="http://dizievents.ch/wp-content/uploads/2015/07/dizi-events-3.png" alt="Logo"></a>
</span>
I tried to replace this code with the following
<span class="img-responsive center-block">
<a href="http://dizievents.ch"><img src="http://dizievents.ch/wp-content/uploads/2015/07/dizi-events-3.png" alt="Logo"></a>
</span>
Can you tell me please what is wrong and what does not work? It's something simple (I think) but I realize the problem
Thanks in advance!
Use the inbuilt Twitter Bootstrap class col-md-offset-6
to align the logo. If you need to including centering in smaller devices, replace md
with xs
or sm
<span class="logo col-md-offset-6">
<a href="http://dizievents.ch"><img src="http://dizievents.ch/wp-content/uploads/2015/07/dizi-events-3.png" alt="Logo"></a>
</span>
Output:
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments