Streaming live at 10am (PST)

Need advice to vertically center when there is not enough content to scroll


#1

This is the website with vertical center content

The problem I have comes when you need to add a lot of content

I want it to be possible to have a vertical centered content without breaking the layout when you add more content.


Here is my public share link: LINK


#2

So something like this?


#3

Something like that but then if I only have the title and one paragraph they need to be vertical center!


#4

Okay, so in this case I just removed the 100% height class from the parent element and then added 47-49 VH padding to the element holding the Heading and Paragraph and it should hopefully produce what you are looking for.

Hope this helps.


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.