@Sala Are your ads set to be responsive? You could use CSS, but the images will in fact look worse as they will but cut short. My recommendation would be to follow the below
https://support.google.com/google-ads/answer/7005917?hl=en-GB
Also, you should review this
https://stackoverflow.com/questions/22463041/displaying-responsive-google-ads-css-problems
If you really need something in the short term, you could use this
@media (max-width: 767px) {
#google-center-div img {
width: 370px;
margin-left: -420px;
height: auto !important;
}
}
However, it’s worth noting that the height
value is being set by javascript
so changing it dynamically will not work with CSS (it’s being overridden by js
)