Envira Gallery Lightbox Thumbails, can these be centered instead of aligned left?

Hi, I’m using Envira Gallery and when I click on an image to view it in the lightbox, the row of thumbnail images are aligned to the left. I’ve tried to add in my own CSS to align them in the center but whatever I try doesn’t work! I’m hoping you’ll be able to help me out please!

I’ll put the URL in a secure note as it’s got the password protect activated as the maintenance page is up at the minute.

Thanks!

Hi @core365,

To make the thumbnails center, please add this custom CSS under Theme Options > CSS:

.envirabox-thumbs>ul {
    text-align: center;
}
.envirabox-thumbs>ul>li {
    float: none;
}

Hope it helps :slight_smile:

Fab! That’s great, thanks! I can see where I went wrong with the CSS I was trying, as I put the text-align and float both for the tag .envirabox-thumbs>ul

Thanks!

You’re welcome :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.