I'm trying to style a custom component but the classes and ids change dependent on the page it's on. Is it possible to style a custom component based on the "dsid"?
I'm trying to style a custom component but the classes and ids change dependent on the page it's on. Is it possible to style a custom component based on the "dsid"?
I use this way to refer to a particular component in my css file
// Component name: mobilecontainerTest
[dsid="mobilecontainerTest"] {
background-image:url("../image/cloudlocater_splash_map.jpg");
background-repeat:no-repeat;
background-size:cover;
}
That should work for you
Very simple. Thank you!