gray Posted November 5, 2016 Share Posted November 5, 2016 Any ideas how to change height of image slider. Its nice having a slider, but sometimes its just to high for some of my templates. Besides which I do not want to go stretching my images to fit. prestashop-v1.7.0.0_RC3 Link to comment Share on other sites More sharing options...
Traumflug Posted November 10, 2016 Share Posted November 10, 2016 Didn't look it up for 1.7.0.0 final yet, but with ...-rc1, slider height is defined in _dev/css/components/imageslipder.scss line 8 (height: 340px;) and line 11 (height: 100%. After changing this you have to re-build the theme, of course (which is apparently an issue in its own). 2 Link to comment Share on other sites More sharing options...
gray Posted November 11, 2016 Author Share Posted November 11, 2016 That is perfect Traumflug it works fine I thought PS1.7 only had one CSS file Link to comment Share on other sites More sharing options...
meska Posted September 14, 2017 Share Posted September 14, 2017 Hmm, It doesn't work for me. I use presta 1.7.2. I tried to adjust the height and clear the catch. Container height is still fixed and whenever i resize my web browser image becomes smaller than container and background becomes visible. You can check: http://www.mylinenfabric.com/ Link to comment Share on other sites More sharing options...
dimam Posted December 31, 2017 Share Posted December 31, 2017 you change the CUSTOM.CSS file in the theme ASSETS folder for any css customisation. custom.css has highest priority. in the case of the slider you put for example .carousel .carousel-inner { height: auto; } thus the hight will depend on your source image height if you put any other value, it will not adapt itself automatically to different media (phone, tablet...) Link to comment Share on other sites More sharing options...
need2011 Posted November 6, 2018 Share Posted November 6, 2018 I have upgraded to version 1.7.4.2 and have used dimam solution in 1.7.2.3 just adding the !important .carousel .carousel-inner{ height:auto!important; } This worked fine in 1.7.2.3 Since upgrading to 1.7.4.2 it does not work any longer I even took out the "!important" cleared the cach and still not working? Anyone have a solution? Link to comment Share on other sites More sharing options...
soydemadrid Posted February 28, 2019 Share Posted February 28, 2019 Hi I have the same issue with 1.7.4.3 - did anyone find a solution to change the slider height please? Link to comment Share on other sites More sharing options...
GepardChester Posted March 9, 2019 Share Posted March 9, 2019 Hi to All, This is a solution: first make a copy public_html/themes/classic/assets/css/theme.css find in file: carousel .direction{z-index:auto}.carousel .carousel-inner{height: for example in my file: carousel .direction{z-index:auto}.carousel .carousel-inner{height:245px}@media (max-width:767px) just change height according yours preferences, do not forget to clear the cash memory and compile (to see efect). If some-else will describe better solution then Please publish. Link to comment Share on other sites More sharing options...
day Posted May 3, 2019 Share Posted May 3, 2019 I have set it 550px "carousel .direction{z-index:auto}.carousel .carousel-inner{height:550px}" working well Juergen 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