Either adding !important
to your declarations or using the below code which is scoped to override Styles, should resolve your issue. Also note that I added the rem
unit to your max-width declarations —?that shouldn’t be left off.
/**
* Increase width in Styles.
*/
@media screen and (min-width: 960px) {
.styles #page {
max-width: 1200px;
max-width: 85.7142857143rem;
}
}
.ie.styles #page { max-width: 1200px; }
.styles footer[role="contentinfo"] {
max-width: 1200px;
max-width: 85.7142857143rem;
}
You can safely add this alongside your other code to have it work with Styles on or off. Adding !important
to the end of each line before the ;
in your existing code would also work. (Don’t forget to add “rem
“!)