Showing my ignorance again... I have created a simple subtheme of snazzy which draws some legacy css from local.css and new css for this site from new.css. The theme works nicely so far, but on one specific page that has its own layout (created by copying Moscone and editing some bits) I am struggling to over-write the css from grid-flexbox.css with new css in new.css.
grid-flexbox.css: @media (min-width: 75em) { .container { max-width: 72.25rem; } }
new.css: @media (min-width: 75em) { .container { max-width: 90.00rem; } }
Trouble is I don't want every instance on every page on the site affected so I've been trying to put it inside as follows:
div.1-wrapper-inner.container.container-fluid { @media (min-width: 75em) { .container { max-width: 90.00rem; } } }
This doesn't work and inspecting the page in Firefox shows that the original grid-flexbox.css is still active so I'm at my limit with this as I've been assuming my new.css would be the last css file loaded and trherefore overwrite all the earlier css (it does for every other css code I've altered).
Anyone got some pointers for me?...
@Ian
Spotted the issue:
Your selector has "1-wrapper" rather than "l-wrapper" (i.e. the numeral for one rather than lowercase L)
Try: