Hi all,
I want to change Attachment's title (see Pic.) I know how to override CSS defaults, but what to do with DIV elements i do not know.
Any help please
Solved! Go to Solution.
The code I posted was tested and working. Not sure why you added the first css rule you posted above.
Vakhtang,
This is a real hack but it allows you to replace the text inside a css rule:
.esri-feature__attachments > h2 {
text-indent: -9999px;
line-height: 0;
}
.esri-feature__attachments > h2::after {
content: "Blah Blah";
text-indent: 0;
display: block;
line-height: initial;
}
Robert,
I tried but it did not work.
But if i do it like i show in this code, it changes ATTACHMENTS color, but title stays same.
div.esri-feature__attachments-title {
content: "Blah Blah";
color:#dc2d5e;
text-indent: 0;
display: block;
line-height: initial;
}
.esri-feature__attachments > h2 {
text-indent: -9999px;
line-height: 0;
}
.esri-feature__attachments > h2::after {
content: "Blah Blah";
text-indent: 0;
display: block;
line-height: initial;
}
The code I posted was tested and working. Not sure why you added the first css rule you posted above.
Aaah, i used 4.14 version, switch to 4.15 it works. Thanks my friend