No grid framework found, error.

Permalink 1 user found helpful
In my quest to edit the CSS for the elemental theme by creating a copy I have created yet another problem for myself! After fixing the missing main.less issue the theme works and can be used - but it isn't anywhere near the same as the normal elemental theme, everything is out of line and you can't edit anything, when you click to edit the page you get:

No grid framework found. Grid area methods require a valid grid framework defined in a PageTheme class.
highlighted problem is:
if ($this->isGridContainerEnabled()) {
    $c = $this->getAreaCollectionObject();
    if (is_object($c)) {
    $pt = $c->getCollectionThemeObject();
    if (is_object($pt)) {
    $gf = $pt->getThemeGridFrameworkObject();
    if (!is_object($gf)) {
    throw new \Exception(t('No grid framework found. Grid area methods require a valid grid framework defined in a PageTheme class.'));
    }
    $this->arGridMaximumColumns = $gf->getPageThemeGridFrameworkNumColumns();

I've attatched the pahe theme code, I obviously have no clue what I'm doing when it comes to setting up c5 to make it editable. Is there an easier way to edit the CSS without going through the hassle of trying to duplicate the theme?

Theme name/location is Test.

1 Attachment