-
AuthorPosts
-
July 29, 2015 at 2:22 am #343787
Here’s the situation:
https://www.dropbox.com/s/icp6xy2r6w2nisa/Screen%20Shot%202015-07-29%20at%203.20.45%20AM.png?dl=0
How could vertically align these images on within their column, so they would like centered with respect to each other?
July 29, 2015 at 2:38 am #343797Hi,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
July 29, 2015 at 3:29 am #343824Hey mertkahraman42,
The easiest way to achieve vertical column alignment is by switching ON Marginless Columns for the Row in Cornerstone. This changes the CSS
display
property for each column fromblock
totable-cell
, which then allows you to addvertical-align: middle !important;
to Style for each column that requires vertical alignment. Alternatively you can just add a Class (likerowWithCenteredColumns
) to the Row with Marginless Columns and then add this to page CSS:.rowWithCenteredColumns .x-column { vertical-align: middle !important; }
That way you don’t have to add styles to each column you want to center – the styles will be automatically applied to all columns within Row that has
rowWithCenteredColumns
class.Hope that helps,
Alex
July 29, 2015 at 3:42 am #343838Thanks for sharing Alex.
Have a nice day! 🙂
July 29, 2015 at 7:48 am #344046This reply has been marked as private.July 29, 2015 at 8:24 am #344083Hi,
To make it align vertically, I added a class(logo-row) to the content band where the images resides.
Please add the code below under Custom > CSS in the Customizer.
.logo-row { text-align:center; } .logo-row .x-column.x-1-6 { display:inline-block; vertical-align:middle; float:none; width: 13%; }
Hope that helps.
August 9, 2015 at 6:18 pm #354463This reply has been marked as private.August 9, 2015 at 8:42 pm #354543 -
AuthorPosts