Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

All Theme Variations: Add a 1/3 + 2/3 custom class for the Columns Blocks #754

@allancole

Description

@allancole

Add a 1/3 + 2/3, custom column class for use with the Columns Block in Theme Variations.

This will allow the Contact Form to display properly next to the Business info.

Currently looks like this:
image

After fix it should look like this with a Custom Class. (Notice how the contact form starts more to the left):
image

Suggested Fix

Add a set of custom classes to allow custom column proportioning. The custom class should only be applied when the Columns has the .has-2-columns class.

  • .columns-proportion-one-third {} (1/3 + 2/3)
  • .columns-proportion-two-thirds {} (2/3 + 1/3)

This is solution may be replaced by built-in solution later on: https://github.com/Automattic/samus-private/issues/181#issuecomment-481007519

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions