Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
mrjack16

Target an Individual Secondary Nav Item

Question

Site URL: https://hpch.org

I've added a "live stream" button to my secondary navigation but would like to change the color and also the padding (I think that's the correct way to make the button perfectly round?) I can locate the #yui object and style it but it seems that the ID changes each time the page loads. How can I permanently target this item in CSS?

Bonus points if anyone can suggest a way to animate the button with a pulse effect.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0
14 hours ago, tuanphan said:

Where livestream?

Target href

eg a.Header-nav-item[href="/resources"]

Thank you. That's just what I was needing.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...