.c-footer {
background: #000;
padding: 20px 0;
color: #fff; }
.c-footer__logo {
display: inline; }
.c-footer__link {
color: inherit; }
.c-footer__link a {
color: inherit; }
.c-footer__link a:hover {
color: #fff; }
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet"/>
<div class="c-footer text-center">
<div class="c-footer__logo">
<img src="http://dynamicdog.se/wp-content/themes/dynamicdog/img/logo.png">
</div>
<span class="c-footer__link">
<a href="#">Malmö</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Stockholm</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Malmö</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Stockholm</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Malmö</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Stockholm</a>
</span>
</div>
I have the aim of achieving the design shown in the image below: https://i.sstatic.net/rzsV3.png
My goal is to center the text while having the image floated to the left. I attempted using the bootstrap class center-text
but it ended up centering all elements...
This is the current structure of my markup:
<div class="c-footer">
<div class="c-footer__logo">
<img src="/static/media/q-logo.98ed5701.png">
</div>
<span class="c-footer__link">
<a href="#">Malmö</a><span> - </span>
</span>
<span class="c-footer__link">
<a href="#">Stockholm</a><span> - </span>
</span>
</div>
How would you go about accomplishing this layout?