WordPress / theme-experiments

Experimenting with themes made out of blocks.
GNU General Public License v2.0
546 stars 179 forks source link

TT1 Blocks: Cover block not visible in header on homepage #215

Closed annezazu closed 3 years ago

annezazu commented 3 years ago

While trying to figure out a way to add a cover block image to the header of a site as part of this outreach effort, I found that I could add a cover block image but it wasn't visible on the site upon viewing it. Further, the navigation links are incorrect/don't match what I've changed them to.

Here's a quick video:

https://user-images.githubusercontent.com/26996883/108780439-aa84c600-7525-11eb-823b-add697df8cd0.mov

I'm using TT1 Blocks & Gutenberg 10.1 for this.

annezazu commented 3 years ago

Of note, even after saving, I returned to the site editor to find these changes had been wiped out. I rebuilt the same setup and found the same error. Something odd seems to be going on.

carolinan commented 3 years ago

Hi, which versions of the theme was used?

annezazu commented 3 years ago

Version: 0.4.4!

carolinan commented 3 years ago

I am only able to reproduce this if I already have a template part called header saved from editing a different theme. I tested with several themes and it does not only happen with TT1 Blocks active.

If you can confirm this scenario, this is the issue in the Gutenberg repo: https://github.com/WordPress/gutenberg/issues/28951

annezazu commented 3 years ago

Oh wow!! This is fascinating. I'll close this out as I can confirm this is the case.