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

    axtn95
    Participant

    Vertical Centering…Ugh, everyone hates this, I know, lol

    I was just wondering if there was any way I could easily achieve this with X theme? Or is it just I have to write my own css as I would do any other time I was trying to vertically center something? Check the next post for the site I want to accomplish this is! The colored content bands with the header and paragraph text, I want them to be completely centered in the band.
    Any help will be appreciated, thanks!

    #150391

    axtn95
    Participant
    This reply has been marked as private.
    #150811

    Christian
    Moderator

    Hey there,

    Please place all the elements in your column to a single container first. Also, set a fixed height for your column.

    Thanks.

    #152112

    axtn95
    Participant

    Mind elaborating a bit?

    Sorry, I can’t get it to work.

    #152409

    Paul R
    Moderator

    Hi,

    Please disregard the previous post.

    To vertically align the elements.

    You can add this under Custom > CSS in the Customizer.

    
    .entry-content > #x-content-band-3 .x-column,
    .entry-content > #x-content-band-7 .x-column {
        vertical-align: middle;
        float: none;
        margin-right: 0;
        display: inline-block;
    }
    
    .entry-content > #x-content-band-3 .x-column.one-half,
    .entry-content > #x-content-band-7 .x-column.one-half {
        width: 49.9%;
    }
    

    Hope that helps. 🙂

    #152428

    Cousett
    Member

    Could you provide us with your login information so we can take a closer look?

    To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #382288

    jessica
    Participant

    hi! I’d like to vertically center all of the images and text on this page. This way, as the page resizes, everything will stay in alignment.

    #382289

    jessica
    Participant
    This reply has been marked as private.
    #382393

    Rupok
    Member

    Hi @robnjesschapman

    Thnaks for updating but it’s a pretty old thread. I would like to suggest you to open a new topic with proper clarification. Please add some screenshot pointing us the section and clarify what you are trying to achieve.

    You don’t need to reply on this thread.

    Thanks