是否可以从Embedly卡中删除标题?我想删除或隐藏整个div.hdr部分,包括provider-favicon和provider-name,以便只显示卡的div.bd主体。
代码I&m; m发布是:
<a class="embedly-card" data-card-key="3b4de9c48f78449989436d6d3adefda5" data-card-chrome="0" data-card-controls="0" data-card-via="0" href="http://www.domain.com/folder/filename.jpg"></a> <script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>
呈现的代码是:
<div class="card image"><div class="hdr"><div class="provider provider-gt-35"><span class="provider-favicon"></span><a class="provider-name" target="_blank" href="http://www.MYURL.com">SITETITLE</a><span class="author"> </span></div></div><div class="bd"><div class="pair-bd"><div class="art-bd"><a target="_blank" href="#"></a><a href="http://www.MYURL.com/sites/default/files/images/folder/test-450x100.jpg" target="_blank"><img class="art-bd-img" src="http://i-cdn.embed.ly/1/display?key=fd92ebbc52fc43fb98f69e50e7893c13&url=http%3A%2F%2Fwww.MYURL.com%2Fsites%2Fdefault%2Ffiles%2Fimages%2Ffolder%2Ftest-450x100.jpg" style="opacity: 1;"></a></div></div></div></div>
答案 0 :(得分:0)
是的,Embedly允许基于&#34; embedly-css&#34;付费帐户进行CSS自定义。类。
<style class="embedly-css">
.card .hdr {
display:none;
}
</style>