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

featured_image size #100

Closed
jhr2267 opened this issue Apr 23, 2018 · 2 comments
Closed

featured_image size #100

jhr2267 opened this issue Apr 23, 2018 · 2 comments

Comments

@jhr2267
Copy link

jhr2267 commented Apr 23, 2018

Excuse me if this is a noob question, but how do I change the size of the feature_image that is displayed? Mine is cropped from the bottom so that it is significantly narrower than this example https://gohugo-ananke-theme-demo.netlify.com/

Which files should I change? Perhaps the image size could be made into an easy to change variable.

@corch
Copy link

corch commented Nov 29, 2019

I have been trying to figure this out as well. The file "/layouts/partials/site-header.html" is where the image is included in the page but I don't know if this is the right place to change it, or what css should be used to affect the height of the image.

I'm also having a problem with the description parameter set in config.toml not displaying on the header image below the site title... not sure if its related though

@qidai628
Copy link

qidai628 commented Sep 3, 2020

What's the difference between "/layouts/partials/site-header.html" and "/layouts/partials/page-header.html"? I added "omit_header_text = true" in "_index.md", but failed to omit the title and description on front page's background image. Then I removed the h1&h2 html code segment in "/layouts/partials/site-header.html", however the background image was cut off from bottom.

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

4 participants