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
http://support.themeburn.com/topic/ratio-of-picture-in-mobile-view
http://support.themeburn.com/topic/image-mobile-responsiveness

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?
thanks

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

July 20, 2017 at 8:42 pm #60518

Hi,

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

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

BR,
ThemeBurn team

July 27, 2017 at 4:54 pm #60620

GOOD!
IT solve the problem!
thanks

July 27, 2017 at 5:19 pm #60632

Glad we’ve helped, mate :)

BR,
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.