I am customizing a wordpress theme and in a popup I am displaying a contact form when you click Book a Valuation
menu item screenshot, you can see that content is overflowing(i do not want to add scrollbar). I have followed all the answers given here but nothing helped me to solve the problem. Website link
Asked
Active
Viewed 48 times
0

Community
- 1
- 1

StealthTrails
- 2,281
- 8
- 43
- 67
1 Answers
0
Use height: auto;
in your CSS.

Martin van Driel
- 1,397
- 2
- 12
- 20
-
using height auto makes the background transparent, – StealthTrails Nov 11 '15 at 20:51
-
I still see `!important`. Is that for a reason? Probably because you also set `height` inline, but still in px. – Martin van Driel Nov 11 '15 at 20:54
-
oh just removed that but you can see now that it has increased the height too much. http://prntscr.com/91pjl7 – StealthTrails Nov 11 '15 at 21:00
-
As you can see in the browser developer tools, the `height` is set in line, which causes it to be 400px high. – Martin van Driel Nov 11 '15 at 21:15
-
removed that but now background is transparent again – StealthTrails Nov 11 '15 at 21:40
-
It's because of the positioning. You can see the difference when you disable the `bottom` style for example. – Martin van Driel Nov 11 '15 at 22:17
-
oh amazing, but why is that? can you please explain. – StealthTrails Nov 12 '15 at 09:16