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

CSS hack for hiding Gutenberg post_author no longer works. #791

Closed
scofennell opened this issue May 20, 2021 · 2 comments · Fixed by #793
Closed

CSS hack for hiding Gutenberg post_author no longer works. #791

scofennell opened this issue May 20, 2021 · 2 comments · Fixed by #793
Assignees

Comments

@scofennell
Copy link
Contributor

CAP uses this CSS:

/** Block Editor Hack for 5.0: Hide the core author input **/ .block-editor label[for^="post-author-selector-"], .block-editor select[id^="post-author-selector-"] { display: none; }

In order to hide the core post_author selector in Gutenberg. See #630 .

However, at some point this CSS stopped working, because the markup for the post_author changed, see screenshot:

Screen Shot 2021-05-20 at 10 36 44 AM

It looks like the correct CSS would be:

/** Block Editor Hack for 5.0: Hide the core author input **/ .post-author-selector { display: none; }

This is important because users are trying to use the post_author field, and it's not working.

@rebeccahum
Copy link
Contributor

Thanks for reporting! We'll work on getting this adjusted.

@rebeccahum
Copy link
Contributor

@nielslange Looks like this was introduced in 5.6 — can you look at getting this updated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants