I am struggling to implement a full-page image background using Bootstrap 4, but unfortunately it's not working and I am unsure how to troubleshoot this issue. Despite conducting extensive research online, I have been unable to find a solution that addresses the problem.
The CSS code I am currently using for the div tag is as follows:
background-image: url("img.jpg");
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
I have opted for a background image as I intend to overlay some text and headlines on it. I have attempted to nest this div within both .container and .container-fluid classes, as well as without any container at all, but nothing seems to be effective. Is there a specific aspect of Bootstrap that could be obstructing the creation of a full image background?
Your assistance in this matter would be immensely helpful, especially considering the pressure from my boss regarding the completion timeline of the website!