Here is a snippet of the HTML code I am working with:
<nav class="navbar navbar-expand-lg navbar-dark bg-success ">
<div class="container-fluid">
<div class="d-flex justify-content-between w-100" style="white-space: nowrap;">
<div>
<span class="h3 text-warning">
James Joyce
</span>
</div>
Strangely, the body tag with the class "bg-success" does not appear in the HTML snippet above. I'm unsure why this is happening, so I'm mentioning it here.
The issue I am facing is that the class "bg-success" is being used twice - once for the body as a solid background color and again for the navigation bar where it creates a gradient effect which I don't find visually appealing. Please refer to the screenshot linked here.
I have attempted to disable the gradient effect on the navbar by researching solutions, but unfortunately, I have not been successful in finding a suitable method.