Card Vertical Alignment

Is there a way to set the vertical alignment of the cards so that the front is end and the back is start.

Currently, that setting is for both sides.

Screen Shot 2020-03-24 at 8.35.29 AM

I’ve put the staging page into the secure note.

Hi @wbgTHEMECO,

Thank you for writing in, no there is no separate option, but you can use the selector below to change the justify-content specifically of the back of the card.

.x-card .x-card-face.is-back {
	
}

You can find the proper CSS code selector using the Chrome browser Developer Toolbar
For the CSS code itself, I suggest that you get started with this tutorial

Cheers!

Thanks, that worked.

I did try to add it to the element custom css as $el.x-card .x-card-face.is-back but it would work.

The CSS only was applied if I did just .x-card .x-card-face.is-back

Hi @wbgTHEMECO,

I did try that selector on my end, and it did work for me. Please check if you’re adding the Element CSS to the correct (card) element.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.