Check out my website:
I am struggling to keep the thumbnail gallery centered on my site at all times.
I have tried using the following CSS:
text-align: center;
On the parent element and setting thumbnails as:
display: inline-block;
But unfortunately, the thumbnails keep floating left instead of staying centered.
I attempted to use media queries to force a margin from the left side for smaller screens:
@media (max-width: 767px) {
.thumbnails{
margin-left: 40px!important;
}
}
However, I am looking for an easier way to consistently center the ul regardless of browser width.
Any suggestions on how I can achieve this?