I need help applying the class .container-fluid { padding: 50px; } with the exception of it applying to one “container-fluid”. Is it possible to apply a class but negate the effect on one particular element/selector?
Reason I’m asking: When I make my navbar have the class container-fluid the padding that gets applied runs over and covers up way too much content on my first page. But I like the effect of what fluid achieves, AND I need the padding that gets added elsewhere throughout my webpage.
Any thoughts on how to get the best of both worlds?
FWIW I’ve tried adding jQuery :not() selector but it’s not overruling .container-fluid { padding: 50px; }. I’ve left it in my code for you to see. Any thoughts are welcome!
Ugh, I also feel really dumb here. I had tried to overwrite the class with an id before, but now I realize I was applying the id to the wrong div (i.e. one that already had an id… and I don’t think you can have two ids for one selector, right?).