How to custom Matrix Carousal - size of the card frame | XM Community
Skip to main content

When I try to customize the size of the card frame with the code below:

.CarouselCardFrame{
position:relative;
width:500px;
margin:20px 0;
height:100px !important;
border:2px solid #104ba5;
border-radius:2px
}

It’s always “Invalid JavaScript”. Can anybody help to fix the code?

Thank you so much in advance!

 

Hello @Elaine.Li,

The code you shared is CSS not JavaScript. Check if the class you are using is correct and add ‘!important’ tags. Once the code is ready add it under Look and Feel → Style → External CSS.

Let me know is this helps.


Thanks!


Leave a Reply