-
AuthorPosts
-
August 30, 2014 at 5:16 am #95241
Hi guys,
I am trying to vertical align the text in my content bands on a page:
http://www.atplexamen.nl/010-aviation-law/I have tried a lot of CSS but al of the things I try don’t seem to work. I just want the text what is in the content bands to be aligned in the middle vertically, the content bands have a fixed height of 190px(#x-content-band-19 .x-content-band) and the phone vis. has a fixed height of 130px (#x-content-band-3 .x-content-band.)
Can you guys help me with this issue.
Much appreciated!Regards
August 30, 2014 at 9:32 am #95302Hello there,
Would you pleas add the CSS code below into Customize -> Custom -> CSS:
.page-template-template-blank-4-php .x-content-band.vc { display: flex; align-items: center; padding: 0 !important; justify-content: center; }
Thank you.
November 18, 2014 at 1:07 pm #147824Sorry to dig this topic up from a couple of months ago, but the title of the original post is basically exactly what I want to talk about and the responses so far here haven’t resolved my query…
Am I right in saying that there is a way of adding functionality to Visual Composer to enable us to vertically align column content within a row? Does X already have such functionality?
I vaguely remember another theme having such functionality (Vellum? see last entry on this page: http://para.llel.us/support/tutorials/vellum-helper-css-classes/)
If it isn’t already included in the X version of Visual Composer, could it be considered for future developments?
November 19, 2014 at 12:20 am #148143Hey Jon,
We do not have the helper class. We’ll take note of this as feature request and might implement it in a future release.
Thanks.
November 20, 2014 at 1:44 am #148989Much appreciated.
November 20, 2014 at 11:54 am #149344Thank you for your understanding. Take care!
January 1, 2015 at 1:32 pm #174643I’d like to third this request! Would love to see a class for vertical alignment. Thanks!
January 1, 2015 at 4:21 pm #174702Sure Lisa, it may took a while as it may composed by two or more elements. And not as simple as horizontal alignment due to html/css limitation.
July 1, 2015 at 6:15 pm #318768I really need this. Aligning vertically is a nightmare…
July 2, 2015 at 12:37 am #319001Hi There,
We added your request. Have you try to utilize the gap shortcode, to push the text in the middle vertically? You might achieve what you’re after with gap.
Thanks!
October 16, 2015 at 4:05 am #627732Yes, this would be really useful 🙂
October 16, 2015 at 4:12 am #627744Hi there Paul,
Thanks for your vote! Noted. 🙂
December 26, 2015 at 2:26 am #721227Please, this is such a nightmare!!
December 26, 2015 at 2:32 am #721229Hey There,
Your vote has been noted.
Thanks.
January 4, 2016 at 1:26 pm #731321Hey party people – I’ve found/discovered/lucked out on vertical aligning in a content band.
Adding ‘ vertical-align:middle; ‘ in the style box of a column will align whatever is inside, but only if Marginless Columns are on.
First thing I’ve ever been able to help with on the internet ever. Someone take a photo.
-
AuthorPosts