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

Cover Image: image is displayed in editor, but not on front-end #1403

Closed
slaFFik opened this issue Jun 23, 2017 · 2 comments
Closed

Cover Image: image is displayed in editor, but not on front-end #1403

slaFFik opened this issue Jun 23, 2017 · 2 comments

Comments

@slaFFik
Copy link

slaFFik commented Jun 23, 2017

On front-end, for some reason (after clicking Save and Preview in admin area) the image is not displayed. although in back-end everything is ok (after page reload as well).
This might be a theme specific, but I can't identify any CSS rules that might be a reason.

Using WP 4.8, Gutenberg 0.2, Stargazer 3.0

@youknowriad
Copy link
Contributor

youknowriad commented Jun 23, 2017

Yes, frontend styles are coming soon. For instance, Cover Images need something like that to work:

.wp-block-cover-image .cover-image {
  background-size: cover;
  background-attachment: fixed;
  height: 430px;
}

You can expect those styles to be added automatically in upcoming releases

Related #1217

@jasmussen
Copy link
Contributor

This should be fixed now! 🎉

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

No branches or pull requests

3 participants