Jump to content

Archived

This topic is now archived and is closed to further replies.

Aires

Vertical Centering Sections inside a canvas

Recommended Posts

Aires

Hi, 

I have tried multiple things to vertical center section like text box or testimonial inside of a canvas section and nothing seems to work.

 

I tried making the canvas section relative and the child absolute with some additional css in %

 

The Flexbox technique 

 

Margin auto center.

 

I would rather not have to add padding to make it look centered.

 

Just to give an example i set the canvas section to a min hieght of 450px when i drag any section into it ...it is at the very top of the section. 

 

Thanks for any advice.


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Can you provide a link to the site in question.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Aires
Sorry it took so long to reply it turns out that some how the jquery script I was using for smooth scroll was causing issues. So I had to remove till I can either fix it or find a better alternative.

Aires


Sent from my iPhone using Tapatalk

ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites

×