issue of the ratio of picture in mobile view

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart Themeissue of the ratio of picture in mobile view

This topic has been marked as resolved.

Dear support

i find that in mobile view the wide picture will be squeeze neglect the original ratio.

i have read these two topic

and try to use the following fix

@media (max-width: 768px) {
img {
height: auto !important;

it resolved the ratio problem.
but the code above make the image in the popup cart notification very big

how can i solved it?

  • This reply was modified 546 days ago by  Ken Yeung.

July 20, 2017 at 8:42 pm #60518


Here is some more custom CSS that will fix the problem:

.noty_text .thumbnail img {
    max-height: 100%;

ThemeBurn team

July 27, 2017 at 4:54 pm #60620

IT solve the problem!

July 27, 2017 at 5:19 pm #60632

Glad we’ve helped, mate :)

ThemeBurn team

August 1, 2017 at 5:37 pm #60764
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.