Image slider's inside image fills the whole slide
Permalink
Hi,
I've been testing a bit concrete5 (5.7.5.6), especially the image slider but I can't seem to do what I want. I want the image that is in the slider to fill it completely, like having no background.
On the picture if the image in the slide is the black part and the background is red, having the black fill all the red.
I've been looking around and I couldn't find anything that helped me.
Any help or a link to an addon or a tutorial to do this would be appreciated.
Thanks by advance.
I've been testing a bit concrete5 (5.7.5.6), especially the image slider but I can't seem to do what I want. I want the image that is in the slider to fill it completely, like having no background.
On the picture if the image in the slide is the black part and the background is red, having the black fill all the red.
I've been looking around and I couldn't find anything that helped me.
Any help or a link to an addon or a tutorial to do this would be appreciated.
Thanks by advance.
Oops. Yes. Sorry. :(
Um wrong thread I guess ?
Hi Naralas,
If I understand your question correctly, you don't want a background and to fill the full width of the area with the image?
To do this, you will need to customize the CSS for the Image Slider block and possibly create a custom template for it. This CSS is contained within the theme. In a default install, it will be in the Elemental theme. The Elemental theme should not be modified directly, as any changes made will be overridden/overwritten when you update concrete5. To allow modifications to the theme that won't be overridden, you can instead use a packaged clone of the theme called Cloneamental.
https://www.concrete5.org/marketplace/themes/cloneamental...
The CSS for the Image Slider is contained in the image-slider.less file and is written in Less -http://lesscss.org .
packages\cloneamental\themes\cloneamental\css\build\blocks\image-slider.less
If I understand your question correctly, you don't want a background and to fill the full width of the area with the image?
To do this, you will need to customize the CSS for the Image Slider block and possibly create a custom template for it. This CSS is contained within the theme. In a default install, it will be in the Elemental theme. The Elemental theme should not be modified directly, as any changes made will be overridden/overwritten when you update concrete5. To allow modifications to the theme that won't be overridden, you can instead use a packaged clone of the theme called Cloneamental.
https://www.concrete5.org/marketplace/themes/cloneamental...
The CSS for the Image Slider is contained in the image-slider.less file and is written in Less -http://lesscss.org .
packages\cloneamental\themes\cloneamental\css\build\blocks\image-slider.less
Yes you understood correctly. Thanks for the informations I'll try this.