Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #95241

    marcel w
    Participant

    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

    #95302

    Christopher
    Moderator

    Hello 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.

    #147824

    Jon G
    Participant

    Sorry 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?

    #148143

    Christian
    Moderator

    Hey 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.

    #148989

    Jon G
    Participant

    Much appreciated.

    #149344

    Darshana
    Moderator

    Thank you for your understanding. Take care!

    #174643

    LisaChristen2
    Participant

    I’d like to third this request! Would love to see a class for vertical alignment. Thanks!

    #174702

    Rad
    Moderator

    Sure 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.

    #318768

    IntuitiveUSA
    Participant

    I really need this. Aligning vertically is a nightmare…

    #319001

    Friech
    Moderator

    Hi 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!

    #627732

    Paul S
    Participant

    Yes, this would be really useful 🙂

    #627744

    Jack
    Keymaster

    Hi there Paul,

    Thanks for your vote! Noted. 🙂

    #721227

    faceless
    Participant

    Please, this is such a nightmare!!

    #721229

    Rue Nel
    Moderator

    Hey There,

    Your vote has been noted.

    Thanks.

    #731321

    alorraine
    Participant

    Hey 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.