Debut theme custom page images not aligning in table

Hi there

I have a custom page with a table and in each cell there is a picture and some text. The pictures are all the same size 480x640 and when inserted are set to original size. However some of the cells make the images bigger which then changes the alignment of the text as well. Any help appreciated!

@colsanderson

Please share store URL.

Thanks!

@dmwwebartisan

https://foreverphotobooks.com/pages/options

pw: maogle

Thanks!

@colsanderson

Please add the following code at the bottom of your assets/theme.css file.

#PageContainer .rte img {
    height: auto;
    max-height: 372px !important;
}

Thanks!

1 Like

Amazing thank you! Worked like a charm :slightly_smiling_face:

1 Like

@colsanderson

If helpful then please Like Solution

@dmwwebartisan just noticed that on mobile the issue is still there - is there some css code to handle that?

@colsanderson

Add css following css class for mobile

@media only screen and (max-width: 749px) {
#PageContainer .rte img { height: auto; max-height: 120px!important;}
}

Thanks!

1 Like

awesome, thanks!