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

Baskerville 2: Text doesn't show on Cover Blocks #3739

Open
azollafox opened this issue May 3, 2021 · 3 comments
Open

Baskerville 2: Text doesn't show on Cover Blocks #3739

azollafox opened this issue May 3, 2021 · 3 comments
Labels
[Pri] Normal [Type] Bug Something isn't working User Report This issue was created following a WordPress customer report

Comments

@azollafox
Copy link

Steps to replicate

  1. Activate Baskerville 2 on your site
  2. Add a cover block with a paragraph or header block inside it

Result

In the editor
In editor

On the published site
published page

Expected

This is the same content in the theme Twenty Twenty-One

twenty twenty-one

  • User report: 3960006-zen
@azollafox azollafox added the User Report This issue was created following a WordPress customer report label May 3, 2021
@pauljacobson
Copy link

To add to this report, the text is clearly present in the block's HTML, although it's not being rendered on top of the block. Take a look here:

Markup 2021-05-05 at 10 45 40

And here:

20210505_104525_screenshot

@pauljacobson
Copy link

It also seems that if we add this Custom CSS, it may resolve the issue:

/* Set position for Cover Block inner container to absolute to reveal text on Baskerville */
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
    position: absolute;
}

@devNigel
Copy link

devNigel commented Oct 27, 2021

I found out that this happens Cover block is set to align center.

Another workaround is to change the alignment settings for Cover block.

A related issue, but for button links: 4399968-zen

I also shared another CSS work around since the above CSS was affecting the height of the cover block.

/* Fix to make Cover block link buttons clickable  on Baskerville 2 */

.wp-block-cover.has-background-dim:not(.has-background-gradient):before{
  z-index:-1;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Normal [Type] Bug Something isn't working User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests

5 participants