Closed (fixed)
Project:
Corporate Clean
Version:
7.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 Nov 2012 at 15:54 UTC
Updated:
10 Feb 2013 at 10:50 UTC
Hi there, we have a 336x280 pixel adsense block injected in the middle of our content, and after upgrading to Corporate Clean 7.x-2.0, the adsense block is getting its HEIGHT cut off.
Please help!
Thanks!
Comments
Comment #1
gtsopour commentedHello,
please edit your style.css (sites/all/themes/corporateclean/style.css) and make the following change at the bottom of your stylesheet:
Change from
To
I will commit this fix immediately.
Thanks
/George
Comment #2
mntash commentedThanks... I made the change but am still having the issue :(
Comment #3
Zwappe commentedThis is according to me related to the same problem I have/had, see here
Instead of
height: auto;I usedmax-height:100%;then it should work, but I still wonder why theheight: auto;does not work...Comment #4
mntash commentedZwappe: thank you very much for your suggestion. Changing height to 100% worked for me!
Should I use
max-height: 100%or should I useheight: 100%?Right now I am using just
height: 100%and it seems to work. I will look for other side effects..Comment #5
Zwappe commentedHey,
I'm glad it helped you out!
I think that in this case it doesn't matter if you use max-height or just height, because there is no height defined in the theme (unlike with the width). So in that case both of them would mean almost the same. I'm not 100% sure of this, maybe gtsopour can answer this?
Comment #6
gtsopour commentedComment #7
gtsopour commentedRemove custom width/height definitions for embed, object, iframe - http://drupal.org/node/1900134