benjaminkott / benjaminkott/bootstrap_package

responsiveimages set multiplier based on (backendlayout) colpos and contentelement

Open
#1,506 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

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
}
}
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.