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

How to custom Matrix Carousal - size of the card frame

  • June 24, 2024
  • 2 replies
  • 87 views

Forum|alt.badge.img+1

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!

 

Best answer by Sachin Nandikol

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.

2 replies

Sachin Nandikol
QPN Level 6 ●●●●●●
Forum|alt.badge.img+44
  • QPN Level 6 ●●●●●●
  • 531 replies
  • Answer
  • June 24, 2024

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.


Forum|alt.badge.img+1
  • Author
  • Level 1 ●
  • 3 replies
  • June 25, 2024

Thanks!