Topic: Container Height Not Responsive
surface2air free asked 6 years ago
Marta Wierzbicka staff answered 6 years ago
surface2air free commented 6 years ago
HI Marta, Thanks, I will look into some of his other suggestions in the interim. Best, Eric Seattle, WashingtonMarta Wierzbicka staff commented 6 years ago
Ok, great.surface2air free commented 6 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 Wierzbicka staff commented 6 years ago
Cool.Ollie Vincent pro answered 6 years ago
surface2air free commented 6 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 6 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 LuckFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No