Reusable CSS

Hi All,

I must be missing something simple, but I want to have all my elements to be white. Testing this on these Nav Links, I can change the color if I change each Nav Link to #fff

Capture1

if I add

a.nav-item.nav-link {color:#fff
}

to the style sheet nothing changes. When I check the ‘Styles’ tab on the right, I notice the style has a strike through:

Capture2

I don’t want to have to change each element’s color. Please help.

Thanks

Try this:

a.nav-item.nav-link {color:#fff ! important;
}

1 Like

Add the following classes to the nav element:

Add a style rule as per
image

1 Like

Thanks Sid and Ben!

2 Likes