hugo-geo
hugo-geo copied to clipboard
images - size?
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:
Can this be something that is addressed by the theme i.e so images have some default size?
Think that images just need to be given the class img-responsive
to solve this. I'll try tomorrow.
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.