I'm having trouble changing the max-width of a theme in Magento 2.
I've found the CSS in:
<THEME>https://waybackassets.bk21.net/css/source/_layout.less
max-width: @layout__max-width;
Then in the Magento Lib folder there is documentation for the variable:
@layout__max-width
Default: 1280px
Allowed Values: '' | false | value
Comment: Page maximum width
So i tried adding a new definition to my _layout.less file
@layout__max-width:1185px;
Also tried adding the same definition to _theme.less file
But i'm still getting max-width of 1280px
Any ideas what i've done wrong would be greatly appreciated
Thanks