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

Fix blog image to inherit width instead of 100% #4

Open
marlonkeating opened this issue Sep 8, 2021 · 0 comments
Open

Fix blog image to inherit width instead of 100% #4

marlonkeating opened this issue Sep 8, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@marlonkeating
Copy link

When our blog images are getting resized in Ghost for different containers (i.e. thumbnail for blog roll or feature image for a blog post) they don’t look correct and we don’t have a way to edit them.

Ghost uses responsive images and automatically resizes the images we input. We'd like to change the parameters so that the max image size is smaller than the template currently allows. We should be able to achieve this with the following rule:
.post-card-large .post-card-image {
width: inherit;
}

Potential Resources

https://www.ghostforbeginners.com/smaller-images/
https://ghost.org/docs/themes/assets/
https://forum.ghost.org/t/casper-theme-post-image/8923

@marlonkeating marlonkeating added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant