19 May 2023
07:19 AM
- last edited on
22 May 2023
06:13 AM
by
AgataWlodarczyk
Hi there.
I've read every topic on the forum and documentation on how to make User tagging work with CSS, and it seems I'm doing everything right but still, it doesn't fetch the users from the front end.
My actions are next:
1) Inspect the element on the front page
2) Copy CSS selector where the username is
3) Paste it to the User tag
my user tag looks like this :
#wrapper > div.navbarmaincontent > nav > ul > li.dropdown.open > ul > li:nth-child(1) > a
I tried to check it in the console with the command :
document.querySelector ('#wrapper > div.navbarmaincontent > nav > ul > li.dropdown.open > ul > li:nth-child(1) > a');
<a href="/UserProfile">…</a>
and it returns a particular HTML with a username. : |
<a href="/username_prof"><i class="fa fa-user fa-fw"></i> Username & Lastname </a>
Did I miss something else? Any hints are highly appreciated.