Hello this is my first question on stackoverflow so please forgive my lack of experience.
I am attempting to modify the background color of an entire HTML document using the background-color property on the element. Despite changing some parts of the document's color, I am unable to alter the background-color itself. I have tried using inline CSS directly on the element but it doesn't seem to work, although I can change the height attribute successfully.
This issue has been bothering me for hours and I'm feeling quite confused.
As this is my first ASP.net Core Web Application utilizing the MVC model, I am working with the automatically generated file "_Layout.cshtml".
<body style="background-color: #767678;">
<header style="background-color: #767678; height:100px;">
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">MovieLover</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse d-sm-inline-flex flex-sm-row-reverse">
<partial name="_LoginPartial" />
<ul class="navbar-nav flex-grow-1">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="Movies" asp-action="Index">Movies</a>
</li>
<li class="nav-item">
<img src="https://users.iee.ihu.gr/~it174985/imgs/search.svg" />
</li>
<li class="nav-item">
<input type="text" value="Search" style="margin-top:5px; width:600px" />
</li>
</ul>
</div>
</div>
</nav>
</header>
I have included a screenshot of the website for reference => 1
Thank you all for taking the time to read this. Any help or guidance would be greatly appreciated.