benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
338 stars 205 forks source link

responsiveimages set multiplier based on (backendlayout) colpos and contentelement #1506

Open V35CH opened 2 months ago

V35CH commented 2 months ago

How can I set the responsiveimages multiplier based on the colpos for a specific contentelement (carousel.text_and_image)?

I have tried this: In the default backendlayout the colpos 8 should be modified.

lib.contentElement.settings.responsiveimages.backendlayout {
    default{
        8 {
            contentelements {
                carousel {
                    text_and_image {
                        multiplier {
                            default = 10
                        }
                    }
                }
            }
        }
    }
}

this works, but effects all carousel items:

lib.contentElement.settings.responsiveimages.contentelements {
    carousel {
        text_and_image {
            multiplier {
                default = 10
            }
        }
    }
}