LLamabob Posted June 18, 2017 Share Posted June 18, 2017 (edited) Hello, My images for the slider in the default template are 185 x 350 pixels. The width: 100%; statement in theme.css:6 is causing the bottom of my images to be cut off. In chrome, when I uncheck width: 100%;, the site works perfectly. I went to http://*********.com/themes/classic/assets/css/theme.css but the CSS code wasn't located there. theme.css:6 .carousel .carousel-item img { width: 100%; margin-left: 0; } What's the best way to get rid of that width: 100%; ? I read in one place that it was in /var/www/*******.com/themes/classic/_dev/css/components/imageslider.scss, and you had to recompile the template, but I haven't figured out how to do that. Thanks,Bob Edited June 18, 2017 by LLamabob (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted June 18, 2017 Share Posted June 18, 2017 I am not sure why would you have full slider and then use those small images but your choice And if you searched in compressed code you would find it there. Not readable way, but it is there search ".carousel .carousel-item img". Other solution is valid also but you will need bit more things to set up http://doc.prestashop.com/display/PS16/Using+Sass https://www.prestashop.com/forums/topic/599369-guide-to-change-the-classic-theme-ps-17-sasswebpack/ Link to comment Share on other sites More sharing options...
LLamabob Posted June 18, 2017 Author Share Posted June 18, 2017 Thank you !! I was able to search and modify the compressed CSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now