Home › Forums › Jevelin Theme › How do I vertically center content in a column
Home › Forums › Jevelin Theme › How do I vertically center content in a column
I have 2 headlines and one paragraph text in a 1/2 column. This content is vertically aligned to the top of the page, but I would like the content to be centered vertically, so that it aligns with the image in the other 1/2 column. Please let me know how I would use a custom CSS class to achieve this.
Link: http://quickpointdigital.com/
Hi @jakeusu,
I hope you are well today and thank you for your question.
I visited your shared site and the content is displaying vertically aligned as shown in the attached screenshot.
Have you managed to achieve this?
Best regards,
Shufflehound team
I just used padding on the top to achieve this, but I would rather “center” it vertically using code. Can you please tell me how I use custom CSS to do this?
Solution for this topic
To align it please remove the applied padding and then use the following custom CSS code.
.sh-section-6b60dc9e2043efe53db6b9bfc8f9a97c .fw-row {
display:flex;
align-items: center; /* Vertical center alignment */
justify-content: center; /* Horizontal center alignment */
}Ok great. Thanks!
You are most welcome here 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.