My opinion is that the pictures on the side are way too big. Is it possible to add a line of code to give the pictures beside the text a fixed width and height?
if i upload a smaller picture, the page will stretch the picture. If i put white borders beside the picture to make it smaller (works) BUT the mobile display is not aligned anymore.
what viewport (browser width) are you in, when the images seem to wide? With responsive themes there are many different states a site layout can be in. (On a 1920px-desktop screen it “feels” perfectly fine to me.) That being said, with responsive themes that are not custom made and don’t provide customization options to modify such settings – while making your requested change is definitely not a hard thing to do – one has to test thoroughly to avoid missing side effects created by this custom change.
if you see the example i gave below my own url, these pictures are smaller than my pictures right? It is also the image with text section. Isn’t possible to have the same size as that site?
Or would that interrupt with other sections? It is purely focused on the image with text sections. It is not bad indeed, but the pictures are too present on the front page in my opinion. Like all pictures from image with text are 300x300 px eg.
if this won’t work from your perspective I will leave it like this
Thank you sir, i really appreciate. Is there also a command for the height? So that it is basically a square image.
Well … the safest way would be to make sure the image is square before it get’s loaded. You can add max-height: 300px; right after the max-width-line also, but really, the behavior with non-square images will not necessarily be what you expect or want. There are ways around this, but for that someone with a better coding background should have a look at the actual code.
i can copy that code at the end of the mentioned theme right?
Correct – i recommend adding it to the end, adding a comment that explains why this block made it in the code. Such as …
Alright thank you very much, I will use square images for my page.
So if i implement the given code in theme.liquid the max width is now 300 px. If i use a image eg 480x480 the width is capped at 300 px right? Does it cut off at 300 or shrink the image to 300px?
”You can add max-width: 300px; right after the max-width-line also”
do you mean width or height here?
if I use a square image you recommend the image before uploading 300px300px?
the height will stay also 300px or will it stretch like before?