Topic: Container Height Not Responsive
surface2air asked 7 years ago
Ollie Vincent pro answered 7 years ago
surface2air commented 7 years ago
Hi Ollie, Thanks. I have tried to remove the 390px height on the intro-container, but that makes the whole section disappear! :o I will have to explore a media queries option for smaller viewports, because at the moment, I have to include a fixed height-size until a simpler solution can be discovered. Thanks, Eric Seattle, WashingtonOllie Vincent pro commented 7 years ago
By my reckoning, you could delete your <pre><div class="hm-gradient intro-container"></pre> and <pre><div class="full-bg-img"></pre> remove the height and max-height on the intro id (#intro) and put your background gradient on that. Worked for me in firebug (Firefox) and it responds well :) so your html looks like this: <pre><div class="container-fluid view z-depth-0" id="intro"></pre> <pre> <div class="container content-box"></pre> *YOUR CONTENT HERE* <pre></div></div></pre> and you CSS like this: <pre>#intro{background:linear-gradient(to right, #8e9eab, #eef2f3); margin-bottom:20px;}</pre> Try that :) Good LuckMarta Szymanska staff pro premium answered 7 years ago
surface2air commented 7 years ago
HI Marta, Thanks, I will look into some of his other suggestions in the interim. Best, Eric Seattle, WashingtonMarta Szymanska staff pro premium commented 7 years ago
Ok, great.surface2air commented 7 years ago
I made some adjustments to my container, and had some new ideas for it, so it's working now. Thanks, Marta and Ollie.Marta Szymanska staff pro premium commented 7 years ago
Cool.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No