Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP 6.6 Grid Block - Column compatibility #136

Closed
Justinabes007 opened this issue Jul 12, 2024 · 1 comment
Closed

WP 6.6 Grid Block - Column compatibility #136

Justinabes007 opened this issue Jul 12, 2024 · 1 comment
Assignees
Labels
Needs Dev Anything that needs development. Needs Testing Issues that need to be tested and confirmed. [Type] Bug Something isn't working
Milestone

Comments

@Justinabes007
Copy link
Contributor

Grid Block Compatibility issues

With the new version of WordPress and the introduction to Grid block for improved layout and full-width layouts, we have encountered some core or theme compatibility issues.

Columns

Currently, both the Editor & Front-end don't include options or apply the correct CSS to display columns correctly within the Grig Block, causing layout display inconsistencies.

Columns and information within them should align correctly as per the below screenshot.
Screenshot 2024-07-12 at 11 57 07

Currently, they display inconsistently.
Screenshot 2024-07-12 at 11 57 46

@Justinabes007 Justinabes007 added Needs Dev Anything that needs development. Needs Testing Issues that need to be tested and confirmed. [Type] Bug Something isn't working labels Jul 12, 2024
@Justinabes007 Justinabes007 added this to the 1.4 milestone Jul 12, 2024
@Justinabes007 Justinabes007 self-assigned this Jul 12, 2024
@Justinabes007
Copy link
Contributor Author

The Grid block in WordPress and LSX Design is designed to handle its own row and column configurations, and adding a Column block inside the Grid block can cause unexpected behavior. Here are a few steps to address this:

Steps to Resolve

Identify and Remove Column Block:

  1. Locate the instances where the Column block is used inside the Grid block.
  2. Remove the Column block and utilize the Grid block's built-in row and column settings instead.

Screenshot of Grid Layout section to set number of Columns:
Screenshot 2024-07-26 at 08 58 46

Each Block within the Grid block will then be used as a Column.
With this, each Block will also have Grid Block settings to control the Row span
Screenshot 2024-07-26 at 09 00 24

Closing issue, no PR necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Dev Anything that needs development. Needs Testing Issues that need to be tested and confirmed. [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant