背景:我目前正在尝试在 Wordpress 上修改我的 Royal Slider 插件
目标:我希望将标题宽度设置为 100%(与图片一样宽)。
问题:我正在为 CSS 编码而苦苦挣扎,并且一直在修修补补,但没有任何结果。
编辑:当前(错误)编码:
仍然有问题。
<div class="rsContent">
{{image_tag}}
<div class="rsCaption">
<h3>{{title}}</h3>
<p>{{description}}</p>
<div class="outerDiv" style="width: 100%"></div>
<div class="sliderDiv style="width: 100%"></div>
<div class="captionDiv" style="width: 100%"></div>
{{thumbnail}}
{{html}}
{{animated_blocks}}
{{#link_url}}
<a class="rsLink" href="{{link_url}}">{{title}}</a>
{{/link_url}}
</div>
页面链接: http ://www.mountainobsession.com/peaks-o-the-week-mount-temple/
提前致谢。我真的很挣扎。