Justoverclock To achieve this you have to do two things, 1º change the line of code of your footer <div class="container">
Flarum uses the container
class to determine the width of the content of the site so it causes a conflict, with the way you have designed the footer, change it for example by <div class="containerFooter">
. 2º Determine the width you want, to do this change in your CSS of the footer this block:
section, footer {
background: #E8ECF3;
colour: #4D698E;
max-width:480px;
display: block;
margin: 0 auto;
}
As you can see the only thing I have changed is the max-width:980px
to max-width:480px
, I think that with 480px the result is identical to the one in your codepen