huggettm Posted March 8, 2018 Share Posted March 8, 2018 some time ago I deleted the slideshow from my homepage as is shown in the demo: https://demo.cubecart.com/cc6/ is this part of the main file template or was it on the homepage layout? I cant find where to reinstate it Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 8, 2018 Share Posted March 8, 2018 The code needed to show the BXSlider slides is: <ul class="bxslider"> <li><a href="{$STORE_URL}/tesa31.html"><img src="skins/foundation/images/examples/slide1.jpg" title="Promotional Message One" /></a></li> <li><img src="skins/foundation/images/examples/slide2.jpg" /></li> <li><img src="skins/foundation/images/examples/slide3.jpg" title="Promotional Message Two" /></li> </ul> where the image tag src attribute points to the images to show, and the image tag can be wrapped in a link to make the image clickable. This can go anywhere, but CubeCart as delivered has this in the Homepage Document. Quote Link to comment Share on other sites More sharing options...
huggettm Posted March 9, 2018 Author Share Posted March 9, 2018 thank you Quote Link to comment Share on other sites More sharing options...
huggettm Posted March 9, 2018 Author Share Posted March 9, 2018 do you know where i can set the max height of bxslider? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 10, 2018 Share Posted March 10, 2018 (edited) There will be some major work involved to make the BXSlider "viewport" take a specific height and then allow for the images to scale accordingly - and not make things messy. For example, a collection of 1000x300px images shown in a max-height 200px viewport will have the bottom 100px not visible. To then scale the images (reduce the width and height) so that the height fits, the width will also be reduced to 666px. That will really mess up the overall display of the slider. The BXSlider javascript scans through the collection of images and finds: if horizontal slides, the height of the tallest image if adaptiveHeight is true, dynamically changes the height of the viewport if vertical slides, the combined height of all images (see adaptiveHeight) I see two possible solutions: make all your images no taller than the max-height, or use a different slider. Edited March 10, 2018 by bsmither 1 Quote Link to comment Share on other sites More sharing options...
huggettm Posted March 10, 2018 Author Share Posted March 10, 2018 Righto Quote Link to comment Share on other sites More sharing options...
Dawson-PS Posted March 10, 2018 Share Posted March 10, 2018 Hi Does this work on any Cubarcart skin ? also do i add it to the skin template or via Admin Cp Regards Callum Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 10, 2018 Share Posted March 10, 2018 The BXSlider is a regular JQuery plugin and can be used in any skin. CubeCart has no mechanism to edit skin/theme code in the admin. We recommend using a programmer's text editor - not a full IDE such as Dreamweaver. Quote Link to comment Share on other sites More sharing options...
forum Posted January 9 Share Posted January 9 "Playing ' <a href="https://techhostlab.com/try-hard-guides-in-wordle-answer-today/" rel="nofollow" previewlistener="true">try hard wordle</a>feels like a thrilling race against the clock and your own wits. It challenges you to stretch your vocabulary and deduction skills in a way that's both stimulating and satisfying." Quote Link to comment Share on other sites More sharing options...
forum Posted January 9 Share Posted January 9 https://techhostlab.com/try-hard-guides-in-wordle-answer-today The device is an innovative piece of technology that seamlessly integrates with various devices, offering a reliable and efficient connectivity solution." Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.