Hello Piotr,
thanks for your your help. I make our conversation public, might be somebody else has the same issue.
My point was to get a continous resize function for the images, which are attached to the child pages of the Header in the StoreFront Frontpage (Storefront Frontpage>Header>FindMoreSize&Styles in the quickstart pack).
You answered:
I understand your issue - it's cause by CSS rule background-size: cover, the purpose was to achieve the same height of the header with the background for all available space, of course you can change it.
add this code into override.css file:
- Code: Select all
.gk-is-wrapper-gk-storefront .gk-is-slide {
background-size: contain;
}
then you'll have to adjust the slider heght (also in the tablet, mobile styles):
- Code: Select all
.gk-is-wrapper-gk-storefront {
height: 400px;
}
Thank you for this advise, it is working fine now.
But there is another issue showing up now:
The size of the wrapper is fixed, this means, when you reduce the size of the browser window and the image/slide is adapting the size, the wrapper height remains constant and the distance between the gk-is-slide and the gk-bottom increases.
How can I adapt the size of the wrapper to the height of the slider?
Thank you