HTML code banner - shrinking in mobile breakpoint, possible?

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
longman
 
 
Posts: 100
Joined: Sat May 19, 2018 1:23 pm

HTML code banner - shrinking in mobile breakpoint, possible?

Post 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
User avatar
Pablo
 
Posts: 21582
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

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

Post 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%
Post Reply