Is there any way I can make jumbotron class ignore the container class, from Bootstrap 4?
I'm using MVC pattern in a PHP project, and I'm including the header on every page witch ends with <main class="container">
, but for the home page I have a jumbotron that I want to display fully horizontally. Since the template for the home page generates after the main tag, the jumbotron is limited to the container's width.
What I've tried is the :not()
selector, but it doesn't work.
.container:not(.jumbotron) {
}
Any suggestion would be much appreciated. Thank you in advance!