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

images - size? #15

Open
dazinator opened this issue Jan 8, 2017 · 2 comments · May be fixed by #25
Open

images - size? #15

dazinator opened this issue Jan 8, 2017 · 2 comments · May be fixed by #25

Comments

@dazinator
Copy link

I have started to add some images to my post, but I notice that they aren't resized to fit the page.. i.e they look like this:

image

Can this be something that is addressed by the theme i.e so images have some default size?

@dazinator
Copy link
Author

dazinator commented Jan 13, 2017

Think that images just need to be given the class img-responsive to solve this. I'll try tomorrow.

@dazinator
Copy link
Author

Ok - adding this in the footer fixed up images:

$( "img" ).addClass("img-responsive");

Not sure whether you would always want all images to be responsive, but I think it makes sense by default. If people require a specific size they can always use shortcodes / html directly.

@digitalLumberjack digitalLumberjack linked a pull request Apr 25, 2017 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant