I'm creating a template, which will be duplicated for the use. and the css rules I have created are in some cases specific for the template only, because the cms creates a random ID number and adds it in the middle of IDs / classes.
So I was wondering how to select them...
The structure would be like this:
<div id="row-123456-StaticPart"> content </div>
Whereas here '123456' would be the random generated ID for the page. So if I duplicate the template, on the next page it would be '654321' for example:
<div id="row-654321-StaticPart"> content </div>
How can I write a rule to select both these ID's? (except for changing the number manually)
I'm thinking of something like:
#row-*-Staticpart {
color: red;
}
or
div[id|="row-*-Staticpart"] {
color: red;
}
Thanks for any ideas in advance!