-
Notifications
You must be signed in to change notification settings - Fork 190
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
Large hero image hides text content #49
Comments
I had same issue. Fixed it by changing values:
but after that left read indicator made huge space between text and image, so modifing it should fix that problem assets/scss/progress.scss:
|
Thanks @lukesaints that worked for me |
I still have the same issue. It's a new website and using Hugo Module, tried two times. Then I tried But isn't this commit merged already? Anyway, thanks @ryanjbartley for solution. |
This issue is because the image is expected to be a fixed height that matches the height of the sticky progress bar on the side. The best way to fix it is to resize the image. This is how it should be done, if you dont mind some cropping of the image: .article-hero-image {
height: 425px;
overflow: hidden;
img {
height: 100%;
object-fit: cover;
object-position: center;
width: 100%;
}
} |
Steps to reproduce:
In forestry.io add a new post with hero image with dimensions 944 × 630 pixels (intrinsic: 6016 × 4016 pixels)
Add text with about 300 words
Expected result:
Hero image and text content correctly spaces
Actual result:
Hero image overlaps the text content
The text was updated successfully, but these errors were encountered: