Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
V35CH opened this issue Aug 29, 2024 · 0 comments
Labels

Comments

@V35CH
Copy link

V35CH commented Aug 29, 2024

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
            }
        }
    }
}
@V35CH V35CH added the question label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant