Stats widget columns

I want to have a columnspan of 2 on mobile and 3 on desktop. But I cant get it working. Already tried this:

public function getColumnSpan(): int|string|array {
        return [
            'default' => 2,
            'md' => 3,
        ];
    }

    public function getColumnStart(): int|string|array {
        return [
            'default' => 2,
            'md' => 3,
        ];
    }
Was this page helpful?