69
Views
9
Comments
Solved
Help with refering css of card container
Question
Application Type
Reactive

Hi!!

Please, I'm trying to set css definition to my second card of screen, but not working. How can I set this? I could set of first one, but I don't know how to identify the second one to define that properties.

If someone need to access to debug, this is the app link:

https://personal-h6lmzlzo.outsystemscloud.com/Zlate/Home?_ts=638227580100963139


Thanks for help!

containerrefer.PNG
2023-06-17 23-16-53
Elaine Guimaraes
Solution

The solution was defining properties directly on table inside Column- 2 / Card-2. I created a class for container inside card 2 since I cannot refer this one direcly.

2023-03-31 06-39-46
Asad Sheikh

Hi Elaine Guimaraes 

.containermain .card-content {

    width: 390px; 

   height: 500px; 

   border-radius: soft;

    background-color: aqua;

}

this will help you

Regards,

Asad Shaikh

2023-06-17 23-16-53
Elaine Guimaraes

Hi Asad,

Thanks for your help, but I need to change properties only of the second one. How can I do that?

2023-05-30 10-05-13
Lourenço Matalonga

Hi Elaine,

create a css class .card2 {background-color : #color} in your stylesheet and add that class to the 2nd card . 


This should fix it.

If not, share the oml and i will try something else.

Best regards,

Lourenco Matalonga

2023-06-17 23-16-53
Elaine Guimaraes

Hi Lourenço,

This is exactly what I need "and add that class to the 2nd card" the second card has style properties disabled, so, I wanto to know how can I refer this one in css. I took a print

card2 class.PNG
2023-05-30 10-05-13
Lourenço Matalonga

Try putting that card inside a container and then adding the class you created to that container.

2023-06-17 23-16-53
Elaine Guimaraes

I changed the model os distribution creating a container and setting properties on container and table, it works whats I need! Thanks for help!

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

If any of the replies helped you then please mark it as solution. If you think your own reply is the solution then please provide more details. I for one, can not derive for your reply marked as solution, what the solution is.

2023-06-17 23-16-53
Elaine Guimaraes
2023-06-17 23-16-53
Elaine Guimaraes
Solution

The solution was defining properties directly on table inside Column- 2 / Card-2. I created a class for container inside card 2 since I cannot refer this one direcly.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.