OS Property support center

tools on google map are deformed

More
11 years 1 month ago #43699 by Mr. Dam
Replied by Mr. Dam on topic Re: tools on google map are deformed
Hi,
We must remove all css attributes of IMG
max-width:100%;
But if we remove this, it may effect to other places in site.
Thanks
Dam

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

  • honesty
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 1 month ago #43739 by honesty
Replied by honesty on topic Re: tools on google map are deformed
Hi Dam,

this is your previous answer"Please go to file
templates > ospt3map > css > template.css
find
img {
max-width: 100% !important;
}
and remove it" and I can understand very well, and I solved the problem then. But now your answer is quite unclear.

Where should I go to find these files? And which code I should delete? I've got 3 different code needing delete from your answer. which one is correct?

Hi Dam,

Which file should I go to remove this attribute?

And should I remove

attribue max-width
.img{
max-width:100%;
}

or

max-width:100%
img { (line 50)
max-width: 100%;
width: auto \9;
height: auto;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
}

or

max-width:100%;

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

More
11 years 1 month ago #43749 by Mr. Dam
Replied by Mr. Dam on topic Re: tools on google map are deformed
HI,
Sorry for unclear explanation. To solve the issue, please follow these steps
1. open 2 files
components > com_osproperty > style > backend_style.css
and
components > com_osproperty > style > frontend_style.css
and add this at bellow of files
#map img{
max-width:none !important;
}
Good luck
Dam

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

Moderators: Mr. DamNguyen Phu Quan