【问题标题】:Revolution Slider - Display caption under slider革命滑块 - 在滑块下显示标题
【发布时间】:2016-08-15 13:19:13
【问题描述】:

我正在尝试构建一个轮播和滑块。图片可以是亮的也可以是暗的,所以我不希望滑块图像顶部的标题。

example sliders 中没有这样的内容,并且在编辑器中,如果您将其一直向下拖动,该元素就会消失。

我特别想要革命滑块,而不是任何其他滑块。

【问题讨论】:

  • 你可以尝试什么(没有任何保证,是在你的背景图像中放置一个底部边距(与你的背景颜色相同的边距大小)。然后你将改变你的高度一般设置。这应该可以将标题放在图像底部之外。

标签: wordpress caption revolution-slider


【解决方案1】:

这是 CSS,它是响应式的:

.rev_slider li.tp-revslider-slidesli {
overflow: visible !important;
height: 150% !important;
}

.fullwidthbanner-container .fullwidthabanner {
max-height: none !important;
height: 150% !important;
}

.tp-bgimg.defaultimg {
height: 35% !important;
}

.tp-caption.NotGeneric-Title, 
.NotGeneric-Title,
.tp-caption.NotGeneric-Title a, 
.NotGeneric-Title a {
    color: rgba(255,255,255,1.00);
    font-style: normal;
    font-family: 'voorregular' !important;
    text-transform: uppercase !important;
    font-weight: 300!important;
    letter-spacing: 1.5px !important;
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-11
    相关资源
    最近更新 更多