All sidewalks shall be at least four inches thick, except where automobile driveways cross the same, in which case the sidewalks shall be at least six inches in thickness for residential driveways and at least eight inches in thickness for commercial and industrial driveways for that portion used as the driveway.