I am working on sharepoint server 2013 on-premises. and inside my team site collection, i have around 30 sub-sites,and all the sub-sites share the same Quick launch navigation structure as follow:-
now in the above picture the current sub-site name is "test new project er
". so i am trying to find a way using .css
or javascript/jQuery
to select the link which have the same name as the current sub-site title, and change its color to blue and set it as bold. so can anyone adivce on this please? i can not find such a setting inside the Quick launch or navigation modules.
Thanks
i tried this css rule.:-
#zz15_RootAspMenu li:nth-child(2) span:nth-child(1) {
color : yellow;
font-weight : bold;
}
but all the links under the first link was colored yellow. although inside the css selector i am saying to select the second li and then select the first span . can anyone adivce on this please ?