Jump to content

Recommended Posts

While I am trying to load image which is different from default size( see attachments) on mobile screen the space reserved for default image is diplayed in grey colour and at the same it looks good at laptop screen. Can somebody advise how is possible to fix this?

post-738882-0-36341100-1398542434_thumb.png

post-738882-0-36627700-1398542451_thumb.png

post-738882-0-03625600-1398542466_thumb.png

Link to comment
Share on other sites

You can change this by opening category.tpl and remove min-height:{$categorySize.height}px; but then your image container won't resize properly either. You can then add media queries to category.css something like this:

@media (max-width: 1199px) {
   .content_scene_cat .content_scene_cat_bg {
      min-height:200px;
   }
}

@media (max-width: 767px) {
   .content_scene_cat .content_scene_cat_bg {
      min-height:150px;
   }
}

and so on...

It's not perfect solution but i don't have a better idea right now

Link to comment
Share on other sites

  • 4 months later...
×
×
  • Create New...