Having issues getting slider to display properly

hello I’m having issues getting the component sliders to display properly

they look correct in the studio but not on the published site

http://gallerytest.plasmic.site

ive tried setting max-widths and making sure the container it’s in isn’t stretching 100%

Hi Mat, I am not able to see the issue that you are facing, what is the version of your @plasmicapp/loader-nextjs ?

ha maybe thats part of the problem… I don’t see that in my package.json?

https://github.com/dirtybirdnj/ngphotos/blob/main/package.json

It’s not a problem, I thought you were using loader, but you are using codegen, let me take a look into your project

ty, happy to answer any questions hopefully that repo helps

Could you add the following two lines into your index file:

import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

I am going to investigate if we can fix it so that it won’t be necessary anymore, but for now that would solve your issue

1 Like