Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

keeps reverting my CSS changes in main.css (Build a Blog with Jekyll and GitHub Pages)

.hero { height: 335px; background: url("../img/bg-main.jpg"), linear-gradient(#75da8f, #77cae9); background-blend-mode: multiply; background-repeat: no-repeat; background-size: cover; margin-bottom: 3.125em; }

I would like to delete linear-gradient(#75da8f, #77cae9);, but it keeps reverting the change.

2 Answers

Cindy Lea
PLUS
Cindy Lea
Courses Plus Student 6,497 Points

You may have other classes elsewhere that is overwriting what youre trying to change. Do a search for the same function in all your code.

make sure you don't have a in-line style in the html tag element, cause that will overwrite any css, or if you have an ID in your html tag and a class and both share the same properties and values the ID one will overwrite any values in the class if they are the same, because it has more power over a class.