Change style on one link

  • 7 January 2022
  • 1 reply

Hello Community

I need to add style to the first link of this nav bar. Only that one, but i don’t know how to call it on css.

If i add h1, i change all the h1 of the page:(

Not very expert. Can you help me?

1 reply

Userlevel 7
Badge +1

In most cases you can address the parent element and use the nth child selector to set a style for the specific element.