Hi;
I hope it's a feature request and not a bug report
I try to apply design.background but at the item level
and the code won't let me add more than one [design.background]
widget = "slider"
weight = 11
[[item]]
title = "Left"
content = "I am left aligned :smile:"
[design.background]
gradient_start = "#0000F9"
gradient_end = "#86007D"
widget = "slider"
weight = 11
[[item]]
title = "Left"
content = "I am left aligned :smile:"
[design.background]
gradient_start = "#0000F9"
gradient_end = "#86007D"
[[item]]
title = "Right"
content = "I am right aligned :smile:"
[design.background]
gradient_start = "#86007D"
gradient_end = "#0000F9"
Firstly, TOML does not work like that. [design.background] will be interpreted by TOML parser as the widget's design, not an item's design - TOML parser looks at the path of the param and not any nesting of this kind.
Secondly, [design.background] is unsupported by the Slider widget. The Slider widget has its own settings per slide as documented here: https://sourcethemes.com/academic/docs/page-builder/#slider
Hence, you appear to be requesting a new feature for colour gradients to be supported by the Slider widget.
@gcushen
If other show interest, yes it would be a nice addon
however I'm happy with this workaround
````
+++
widget = "slider"
weight = 11
interval = 4200
height = "25vh"
[design.background]
gradient_start = "#0000F9"
gradient_end = "#86007D"
text_color_light = true
[[item]]
title = "Center"
content = "I am center aligned :smile:"
cta_label = "Get Academic"
cta_url = "https://sourcethemes.com/academic/"
cta_icon_pack = "fas"
cta_icon = "graduation-cap"
[[item]]
title = "Left"
content = "I am left aligned :smile:"
[[item]]
title = "Right"
content = "I am right aligned :smile:"
+++
````
@gcushen
If other show interest, yes it would be a nice addon
I'm showing interest as well. It'd be nice to have that feature just like in the Hero widget. Also, it'd be great if we could have a parallax effect also in the Slider widget the same as we have it in the Hero widget.
Thanks for such an awesome theme.
Closing due to little demand and the discussion going stale with no contributions.