I am trying to solve this issue… i have this content in the middle my text… when position absolute that and push it down with top: 405px… it works great… but on the resize it’s overlapping my black bar in the bottom…
How can i solve this? try resizing… you wil see that i mean.
A more complete description of the page would help. Maybe drawings or screen shots. I am not willing to guess your design intent. Please show me what you want.
I do not see an image in your post in the forum. (It woud have been easier to drag and drop an image into the post.)
What is the black bar supposed to do? Where is it supposed to be?
Do you want the heroUnit text vertically centered in the space above the black bar, regardless of the size of the viewport, OR is there more content below the black bar???
Please give these files a try and see if they come close to your wishes.
The css file is expected to be in a css folder and the image is expected to be in an images folder. Matched with the HTML file, they should work. I made the black fixed footer 100px tall instead of 52px. The fixed footer requires a fixed height which must also be reflected in the CSS for the position of the bottom of the text in .heroUnit-content-text.
I did not try to tweak anything else, so the page still has many opportunities for improvement such as converting font sizes from px to em.