Removal of generated text in particular element
Posted: Thu Feb 02, 2017 10:35 am
Hi Team,
When <steps> is used I am getting "Steps" generated text. Now according to my customization
I dont need "Steps" generated text when <steps> is inserted in <remedy> element.
The code I used here is
I already tried using the not selector. But it is not working
Please help me to remove the "Steps" text when <steps> is inserted in <remedy>.
Thank you!
BR
Mounika
When <steps> is used I am getting "Steps" generated text. Now according to my customization
I dont need "Steps" generated text when <steps> is inserted in <remedy> element.
The code I used here is
Code: Select all
*[class~="task/steps"]:before(10) {
content:"Steps ";
font-weight:bold;
}
*[class~='troubleshooting/remedy']{
-oxy-foldable: false;
content:"Remedy ";
}
remedy:not(title){
content:"Remedy ";
font-weight: bold;
}
remedy > *{
font-weight:normal;
}
*[class~='troubleshooting/remedy']! > [class~='topic/title'] {
content:"Remedy: ";
}
Code: Select all
*[class~="task/steps"]:not(remedy):before(10) {
content:"Steps ";
font-weight:bold;
}
Thank you!
BR
Mounika