Anyone know why this page is rendering off center. There is more margin on the right side of the page than the left? Is this a css issue?
https://www.omniresources.com/events
Thanks
Anyone know why this page is rendering off center. There is more margin on the right side of the page than the left? Is this a css issue?
https://www.omniresources.com/events
Thanks
Hi @ErinKas,
Is there a specific browser or size screen you’re seeing an issue with? Or a specific element on the page? Everything looks centered from what I can see.
Thanks,
Jenny
you would have to target the las item in the row and remove the padding. this layout looks like a good opportunity to use css grid if you are in the mood ![]()
<div class="event-container">
<div class="event"></div>
<div class="event"></div>
<div class="event"></div>
</div>
<style>
.event-container{
display: grid; grid-gap: 5%;
grid-template-columns: repeat(4, 1fr);
}
</style>
then add mobile queries..maybe make the individual event a flex container and position its content.
more than you asked…but hopefully, helpful