Is there a way to target a specific span tag and change the text color to white without using IDs? I am trying to modify the CSS of the friend section on a page but cannot add any IDs. This is for the friend section on the website younow.
<div id="leftsidebar">
<div class="channel-menu-content">
<div class="left-panel">
<div class="panel-title nowrap short-text" ng-if="leftSidebar.session.user.userId !== 0" ng-click="leftSidebar.friendsCollapsed = !leftSidebar.friendsCollapsed">
<span translate="sidebar_online_friends">Freunde</span>
</div>
</div>
</div>
</div>
https://i.sstatic.net/NQVgH.png
I came across a solution on this page, and tried implementing it like this:
$("div#leftsidebar .channel-menu-content.left-panel.panel-title span").css("color","white");
$("div#leftsidebar .channel-menu-content.left-panel.nowrap span").css("color","white");
$("div#leftsidebar .channel-menu-content.left-panel.short-text span").css("color","white");
Unfortunately, the attempt was not successful.