如何更改明喻时间线中乐队的背景颜色?
我正在尝试更改明喻时间线中的条带的背景颜色。我一直在使用的一些属性已经过时,并且花了一段时间才找到调用该属性来更改部分时间线的最新方法。我目前有
theme.ether.backgroundColors = ["#CCCCCC","#E6E6E6","#CCFF66","#E4FF41"];
该行应该将每个带设置为不同的背景颜色。但它并没有这样做。有人可以帮忙吗?谢谢!
I'm trying to change the background color of the bands I have in my simile timeline. Some of the attributes I've been using have been out of date and it's taken a while to find the latest way to call on that attribute to change part of the timeline. I currently have
theme.ether.backgroundColors = ["#CCCCCC","#E6E6E6","#CCFF66","#E4FF41"];
That line should set each band to a different background color. But it isn't doing that. Can anyone help? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
必须创建一个 CSS 文件并在那里设置背景。
该参考将出现在您的时间线的 html 文件中。
这段代码将为第一个乐队设置背景。
这是 2.3.0 版本的
Had to create a CSS file and set the backgrounds there.
That reference goes in your html file for your timeline.
That bit of code would set the background for the first band.
This was for release 2.3.0