Ques/Help How to modify template with html that changes

F

FoxSecrets

Guest
I need to implement template modification just before login block but the div changes due some other add-on and because of that my modification doesn't work, the div is never found.

So my question is how to refers to a div that changes? I tried using part of the code but it doesn't work. Can I use some wildcard to refers to a part of the code?

e.g.
<div class="p-navgroup p-account {{ $xf.visitor.user_id ? 'p-navgroup--member' : 'p-navgroup--guest' }}"...

Read more

Continue reading...