Slider off to the right

Hi,

I have built a modal to open like a lightbox when hitting the image.

https://explorermotorhomes.com.au/2022-explorer-motorhome-spirit/?stocknum=395

I am having trouble getting the slider in the modal to center. There looks like there’s some left padding or margin but I’ve been through every element and can’t seem to find it. It’s more of a problem at smaller screen widths when the right nav button disappears off the right side of the screen.

Can you help please?

Thanks,
darren.

Hello Darren,

Thanks for writing to us.

I would suggest you set the Modal content width as 100% to align the Modal image in the center. Please have a look at the given screenshot below.

Hope it helps
Thanks

Awesome - that did the trick! - thank you!

I had both width and height set to 100vw and 100vh. I guess that was the issue?

Hello Darren,

Glad that we were able to help you. Please feel free to open a new thread if you have any more concerns.

Thanks

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