【发布时间】:2021-01-16 19:30:45
【问题描述】:
我正在使用 CSS 自定义 Vimeo OTT 主题。我已经能够在整个主题中更改字体、颜色等 - 除了在视频播放器页面上。我的自定义字体正在显示,但文本颜色被覆盖。
我已尝试在我的代码中添加以下内容并包括 !important,但它仍然采用原始颜色并覆盖我的自定义设置。
#watch-info > div > div > div.row.margin-vertical-medium > div.column.small-16.medium-8.large-10 > div.contain.margin-top-large.column.small-16 > h1 {
color: #000000 !important;
}
.site-font-primary-color, .site-font-primary-color strong {
color: #000000 !important;
}
添加此代码后,当我检查要更改的元素时,我仍然看到以下内容:
.site-font-primary-color, .site-font-primary-color strong {
color: #ffffff !important;
}
有什么我遗漏的吗? Vimeo 是否有理由覆盖这一点?
【问题讨论】: