mmistakes / minimal-mistakes

:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
https://mmistakes.github.io/minimal-mistakes/
MIT License
12.48k stars 25.73k forks source link

Resizing image in index.html #2107

Closed mohameddhaoui closed 5 years ago

mohameddhaoui commented 5 years ago

Hi , I'm just getting started with minimal-mistakes :) I have an issue with an image that I put in my index.html file . The size is too big and I didn't find a way to resize it and fix the width and the height ... Here is my index.html file :


layout: home author_profile: true header: image: "/images/back_2.gif"

Many thanks Regards

mmistakes commented 5 years ago

See this issue about video sizes in the header, it also applies to images.

https://github.com/mmistakes/minimal-mistakes/issues/2009#issuecomment-450766039

mohameddhaoui commented 5 years ago

Thanks for your quick answer . So there is no way to configure the size ... I don't understand why there are many websites using minimal mistakes theme and are able to fit the image size ( for example https://thegreat.ml/ ) . Below how my home page looks ...... :

image

mmistakes commented 5 years ago

I think because you're only using a header image. That site you linked to above is using a header with text overlayed it. There's different settings for that.

https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity.

If this is a bug and you can still reproduce this error on the master branch, please reply with any additional information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.