- This topic has 7 replies, 3 voices, and was last updated 2 years, 10 months ago by Leo.
January 8, 2018 at 3:41 am #465660Iñaki Mansilla
I need my column content centered horizontal and vertically.
I have been using this method:
However this is not suitable when you have large text in your column. Is there any better suggestion??…
Thanks.GeneratePress 2.0.1GP Premium 1.5.6January 8, 2018 at 9:24 am #465968LeoStaffCustomer Support
Centering vertically can be tricky. Sometimes it might be easier to just add top padding to do adjustment.
You can also take a look at this page: https://css-tricks.com/centering-css-complete-guide/January 9, 2018 at 4:23 am #466489Iñaki Mansilla
Yes I know is tricky… Hopefully one of this days it would not be so complicated!!.
I know about https://css-tricks.com/centering-css-complete-guide/ and http://howtocenterincss.com.
The problem is centering large text in “inside-grid-column”, when using Lightweight Grid Columns plugin.
Thanks for your help.January 9, 2018 at 7:04 am #466695LeoStaffCustomer Support
Ahh yeah that’s trickier because the way LGC was built.
I think using padding top and fine tune is the best method for now.
Or you can try Gridable as it’s using flex box: https://en-ca.wordpress.org/plugins/gridable/January 10, 2018 at 1:35 pm #467910Jon
I have a grid of images of varying heights that are displayed using the lightweight grid column plug-in. The grid is 3-across and 3 down. The challenge is to get equal heights so I can center each image so all line up nicely. Because each element has it’s own height, I can’t do that.
After grinding on this problem for two days, I just read here that LGC can’t have universal heights. Oh man. I like LGC; too bad it has this limitation. I’d rather not have to gorilla the images or bail from LGC, but I’m reading that is what has to be done.
Add my vote for including the capability for universal heights for alignment purposes.January 10, 2018 at 6:04 pm #468038LeoStaffCustomer Support
I think all the columns plugins won’t get updated anytime soon as everyone is waiting to see what Gutenberg is capable of 🙂
It’s actually not possible to make LGC equal height as it’s not using flexbox.
You should be able to do this though: https://generatepress.com/forums/topic/equal-height-grid-column/January 12, 2018 at 2:41 am #469040Iñaki Mansilla
Yes, Thanks for your help Leo.January 12, 2018 at 8:44 am #469328
- You must be logged in to reply to this topic.