Skip to content

[OceanWP] Stackable blocks added to Posts are already aligned as Full Width #3259

@andeng1106

Description

@andeng1106

Describe the bug

  • Happens only for Posts (ok for Pages)
  • Issue happen on OceanWP theme
  • Happens if Page Layout is set to "Full Width" or "100% Full Width" (OceanWP Page Settings & Styling > General > Layout)

To Reproduce
Steps to reproduce the behavior:

  1. Activate OceanWP theme
  2. Activate Ocean Extra plugin
  3. Add a new post
  4. Add these blocks:
    • WordPress Heading block
    • Stackable Heading block
  5. In Editor, set Page Settings & Styling > General > Layout to "Full Width"
  6. Save post and go to frontend
  7. See that the Stackable Heading block is already in Full Width even if no block width alignment settings are present

Expected behavior

  • Stackable blocks should not look full width yet if block width alignment is not yet set to "Full Width"

Workaround

  • Enable "Use theme heading margins" for the Heading block

Screenshots

Screen.Recording.2024-07-23.at.9.mp4

Desktop:

  • OS: MacOS
  • Browser: Chrome
  • Browser Version: Version 126.0.6478.183

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions