Change the height of the image slider block

Permalink
Hi, I am using 5.7.5.9 and want to change the height of the images being displayed in the image slider. Where can I edit the code to do this.

tambopc
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
There's a couple ways to go about changing the height.

Option 1 - Adjust height of images
You could use the built-in image editor (via the file manager) and you could crop or resize the images to a certain height. Or, just make sure all images are the same height when you upload them.

Option 2 - Edit source code
You'll need to edit the source code for the core Image Slider block.
Go to:
/concrete/blocks/image_slider/view.css
From there, you can edit the CSS all you need. You could do something like this:
.ccm-image-slider {
    position: relative;
    max-height: 300px;
}

Hope that helps.
tambopc replied on at Permalink Reply
tambopc
Thanks for the information. I will try it out.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.