On this page, I have the login bar on the right and the footer at the bottom. I want a div to sit in the area currently occupied by the background image and fill it with the full background image.
Currently, everything is wrapped in a wrapper and the background image is hidden behind the login section.
<section id="wrapper" class="login-register">
<div class="login-box login-sidebar">
<div class="white-box">
<form class="form-horizontal form-material" id="loginform">
@{ Html.RenderPartial(SharedPartialViews.Logo.GetDescriptionAttribute()); }
@if (CurrentURL.Contains("Login"))
{
<div>
<h4 style="text-align:center;margin-bottom: -1px; margin-top:5px;">Investor Portal Login</h4>
</div>
}
@{ Html.RenderAction(nameof(SystemMessagesController.GetLoginSystemMessages), nameof(SystemMessagesController).GetControllerName()); }
</form>
@{ Html.RenderPartial(SharedPartialViews.CookieAlert.GetDescriptionAttribute()); }
<div id="mainBody">
@RenderBody()
</div>
</div>
</div>
<div id="backgroundImage" class="" style="position:relative;height:95%!important;width: 75%!important;">
</div>
<div class="login-footer">
@{ Html.RenderPartial(FooterPartialViews.Index.GetDescriptionAttribute()); }
</div>
</section>
The background image div is the one I'm trying to place in that area. Essentially, I want this div to fit to the left of the navigation bar and above the footer while being responsive. I was able to force a fixed-size box into that space with the image, but when the page resized, the image did not resize.
https://i.sstatic.net/M7RiY.jpg
Here are some of the CSS rules that create this layout:
https://i.sstatic.net/4auCD.png https://i.sstatic.net/v6bfm.png
I've tried various solutions. Ultimately, I need a new div container that will fill the area between the login menu and the footer, containing the entire background image without hiding it behind the login menu.
Thank you.