I am not a CSS guru by any means. But if you can send me a bit more of the page, or point me to a public URL I can take a look. My email is dave dot mauney at dynatrace dot com.
Unfortunately this is a brand new page and it’s available only on our QA environment so I can’t point you to a public URL. I sent you an email, thanks a lot
You are welcome!
I recommend leaving out the CSS hierarchy and rewrite the selector in a way so that any future modifications of the page won’t affect it (for example nth-child). So unless there are no more homepage-element tags in your page, you can probably safely delete the part before it.
Well, that was also my concern so I tried that but it didn’t capture anything, that’s why I turned to the current solution where I take “Copy selector” as it is without any transformation…
@Christopher_Cha This is just a temporary solution.
CSS is not best practice for this, espectialy with complex css path
which can be changed with layout in any time.
Try to ask developers add JS variable or dtrum.identifyUser(“xxxx”) call for 100% reliable user detection