Page 1 of 1

HTML code banner - shrinking in mobile breakpoint, possible?

Posted: Wed Jan 06, 2021 6:59 am
by longman
Hello,

Our client has given us a banner (size 970 x 90) which is a code, provided by google I guess, it looks like this:
<ins class='dcmads' style='display:inline-block;width:970px;height:90px'
data-dcm-placement='N5122203.3030511DOMAIN/B280990422.2021477892'
data-dcm-rendering-mode='iframe'
data-dcm-https-only
data-dcm-resettable-device-id=''
data-dcm-app-id=''>
<script src='https://www.googletagservices.com/dcm/d ... '></script>
</ins>
We can successfully add it to our page and inside the grid, by help of "HTML" tool. However, in breakpoint (mobile page) it won't shrink or in other words, becomes smaller to fit the width in mobile version

Is there any solution for this?

Thanks

Re: HTML code banner - shrinking in mobile breakpoint, possible?

Posted: Wed Jan 06, 2021 7:51 am
by Pablo
The code has a fixed size so that is why it does not resize.

Code: Select all

width:970px;height:90px
You can try to replace it with

Code: Select all

width:100%;height:100%