I recently acquired a classic bootstrap template that is structured like this:
<div class="container">
<div class="row">
<div class="col-12">
...header...
<div class="carouselContainer">
...carousel...
</div>
...content...
</div>
</div>
</div>
Here is how my website currently appears (H - header, S - slider, C - content, F - footer, centered with margin: auto):
https://i.sstatic.net/XpWEU.png
I am looking to visually separate the slider from the div.row and div.col-12 using CSS to achieve this look:
https://i.sstatic.net/uSclc.png
I attempted using position:absolute, but this caused the content to be obscured by the slider, and I also want to ensure the layout remains intact across different screen sizes (avoiding the use of pixels, potentially hiding the carousel on smaller screens).
Does anyone have any suggestions on how to achieve this? (Apologies if my request seems complicated.)