Height Issue after moving to WordPress
-
After I integrated my website into WordPress my height styling is not behaving as expected. It did work correctly within HTML, CSS and JS files.
The URL that I am working on integrating is: https://2017.anderson-adv.com
I have several divs (#sections) that each should take up 100% of the height of the viewport. To get to the subsection below you should have to click on a button at the bottom of the screen. When #section is set to height:100% it only fills about 20% of the viewport.
I can solve this issue by changing height:100% to height:100vh but this is causing issues with optimizing for mobile so it’s not a long term solution.
Any idea why height:100% isn’t working within WordPress but works without an issue when I am using HTML, CSS and JS files?
- The topic ‘Height Issue after moving to WordPress’ is closed to new replies.