Keyword

[SOLVED] item images are not responsive in firefox

  • Alfonso
  • Alfonso's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #117710 by Alfonso
Hello

I´m K2 newbie,
I´m testing in localhost my new web, and the problem is:
in the mainbody of joomla I have a category that contains an item.
The problem is ... in firefox the images are not responsive.
Strangely if i have two items with images they are responsives again
In the other hand this only happens in the mainbody in the modules everything goes smoothly
First I tried with:
div.catItemBody img{
max-width:100%!important;
}
and them....
div.catItemView img{
max-width:100%!Important;
}
and them...
div.itemContainer img{
max-width:100%!Important;
}

But still not resolved...
Can anyone tell me something?
Thans for the help!
Alfonso

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 1 month ago #117711 by Yiota
Check if your main image has a float. This would prevent it from scaling appropriately in smaller screens.

Please Log in or Create an account to join the conversation.

  • Alfonso
  • Alfonso's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117712 by Alfonso
Replied by Alfonso on topic Re: item images are not responsive in firefox
Thank you Yiota Ziaggou

you have put me on the trail...

I use the template zenith of themexpert and in the k2.css sheet this float causes the problem

div.itemContainer {
float: left;
position: relative;
}

I have removed it and now everything is perfect

Best regards
Alfonso

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum