Vertically Center Image in Column

Home Forums Jevelin Theme Vertically Center Image in Column

Home Forums Jevelin Theme Vertically Center Image in Column

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • cmurockstar
    Participant

    How would i VERTICALLY top align an image in a column using the Visual Layout Editor For example

    • there are 2 columns
    • each 1/2
    • left column has image
    • right column has longer text (then the height of the image)

    I see border and padding and margin options, but given the variable height (as the layout is responsive), how can i just tell it to top-align center?

    Hi @cmurockstar,

     

    I hope you are well today and thank you for your question.

     

    Could you please share me the page URL from your site where it is displaying so that i can help you to achieve it?

     

    Best regards,
    Shufflehound team

    cmurockstar
    Participant

    Home

    the images in the colored areas… how would i vertically align it (not everywhere, just these)… like is there an option? or does it have to be custom CSS?

    Solution for this topic

    You can try achieving it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    body.home .sh-single-image-container {
        vertical-align: bottom;
        display: block;
    }

    cmurockstar
    Participant

    thanks for the CSS pointer

    You are most welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)