cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to prevent custom CSS from impacting other mashups in parent mashup?

S_Elsayed
7-Bedrock

How to prevent custom CSS from impacting other mashups in parent mashup?

I have a parent mashup where there are two mashup containers. One of the mashups in the containers have custom CSS. However, this custom CSS is also affecting the other contained mashup. How do i prevent that from happening?

 

This is the CSS is one of the mashups:

 

rect {
  fill: rgba(0, 0, 0, 0); !important
}

 

 I just want to hide the rectangle in that certain mashup, but it ends up hiding the other rectangle in the second mashup too.

 

ACCEPTED SOLUTION

Accepted Solutions
Velkumar
19-Tanzanite
(To:S_Elsayed)

Hi @S_Elsayed 

 

Use Class Selector name in CSS

 

.customCss rect {
  fill : rgba(0,0,0,0) !important ;

}

 

Put class name in Container custom css property.

 

/VR

View solution in original post

1 REPLY 1
Velkumar
19-Tanzanite
(To:S_Elsayed)

Hi @S_Elsayed 

 

Use Class Selector name in CSS

 

.customCss rect {
  fill : rgba(0,0,0,0) !important ;

}

 

Put class name in Container custom css property.

 

/VR

Announcements


Top Tags