Hi,
you have so big space becasue you put img in <p>. This elements have own margines as same as container. Please try use suffix clear. About animation please try add suffix to your modules for example 'my suffix' and then please try add to override.css
- Code: Select all
.mysuffix img {
.itemImageBlock img {
height: auto;
max-width: 100%;
width: 100% !important;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
-ms-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
}
.mysuffix img:hover {
-webkit-transform: scale(1.25) rotate(-7deg);
-moz-transform: scale(1.25) rotate(-7deg);
-o-transform: scale(1.25) rotate(-7deg);
-ms-transform: scale(1.25) rotate(-7deg);
transform: scale(1.25) rotate(-7deg);
}
and remember to enable override.css option in template settings.