We are currently in the process of transitioning our ASPX CMS website to a new platform, and some of the retired pages will be hosted on a separate website under a subdomain. The new website will be utilizing Bootstrap 4.6, whereas our existing CMS site relies on custom CSS without any frameworks or libraries. As a result, I am now tasked with extracting various sections of the website and reconstructing them using Bootstrap.
One particular section I am working on is the 'Speakers' segment, but I have encountered some challenges that I believe are stemming from my current approach. I am attempting to replicate a design concept with a horizontal line for padding across the screen width.
Here is an example of what I am trying to achieve:
https://i.sstatic.net/CC5fy.pngAnd here is my current progress, along with the reasons why I am seeking assistance:
https://i.sstatic.net/aQGsE.pngAdditionally, here is the HTML code I am currently using:
<div class="row pt-4 mt-1 pb-4">
<div class="col-lg-10">
<div class="container-fluid ceda-event-box pl-0 pb-5">
<h2 class="mt-5 pr-1 pl-5 pt-4 bg-ceda-darkblue"><br></h2>
<p><br></p>
</div>
</div>
</div>
Furthermore, here are the CSS classes I am utilizing (mostly inherited from the existing site's CSS) to maintain consistency with the gradient grey color and SVG image:
.ceda-event-box::before {
content: "";
display: block;
position: absolute;
left: calc((100% - 100vw) / 2);
right: 54px;
top: 0px;
bottom: 0;
}
.ceda-event-box::before {
background: linear-gradient(64.15deg, #f3f3f3 50.52%, #bfbfbf 100%);
z-index: -1;
}
... (CSS continues)
If you have any recommendations on better Bootstrap components or alternative approaches to construct this section, I would greatly appreciate any guidance or suggestions you can provide. Thank you!