ArtG Active member Feb 1, 2023 #1 So I want one of the links in the public navigation to stand out from the rest. I want to make it red in color and different from the rest. Any good idea on how best to accomplish this? Thanks
So I want one of the links in the public navigation to stand out from the rest. I want to make it red in color and different from the rest. Any good idea on how best to accomplish this? Thanks
P Paul B XenForo moderator Staff member Feb 1, 2023 #2 Add this to the extra.less template: Less: .p-nav-scroller a { color: red; } Upvote 0 Downvote
ArtG Active member Feb 1, 2023 #3 @Brogan Thank you. I re-read my request and I wasn't clear. Of all of the nav bar items, I only want one to stand out from the rest and be red. Can I target one particular nav bar item to be red? Upvote 0 Downvote
@Brogan Thank you. I re-read my request and I wasn't clear. Of all of the nav bar items, I only want one to stand out from the rest and be red. Can I target one particular nav bar item to be red?
Russ Well-known member Feb 1, 2023 #4 You'll need to inspect the navigation and look for the "data-nav-id". Use CSS like this: Code: a[data-nav-id="whatsNew"] { color: red; } Upvote 0 Downvote
You'll need to inspect the navigation and look for the "data-nav-id". Use CSS like this: Code: a[data-nav-id="whatsNew"] { color: red; }
securedme Well-known member Oct 12, 2023 #5 Russ said: You'll need to inspect the navigation and look for the "data-nav-id". Use CSS like this: Code: a[data-nav-id="whatsNew"] { color: red; } Click to expand... How to make this red? Thanks. Upvote 0 Downvote
Russ said: You'll need to inspect the navigation and look for the "data-nav-id". Use CSS like this: Code: a[data-nav-id="whatsNew"] { color: red; } Click to expand... How to make this red? Thanks.