Drag and Drop Javascript - Make the Items distinct | XM Community
Skip to main content

I am trying to add borders to my drag and drop items in order to make them distinct. Does anyone have any suggestions? I need to pipe the items later so I don’t want to add borders to each item in the rich content editor.

Hi @CarolineP5 

i dont know if you still look for a answer. But if you mean this 
 



you can creat that bij this css code:
/* Add borders to drag-and-drop items */

.Skin .DragAndDrop .Items li {

    border: 2px solid #000; /* Change the color and width as needed */

    padding: 10px; /* Optional: Add padding for better spacing */

    margin: 5px; /* Optional: Add margin for better spacing */

}

 


Leave a Reply