图片未显示在主页中

时间:2017-03-14 05:03:37

标签: php jquery wordpress

图片没有显示在wordpress网站的主页上。但是类别页面没有问题。这是网站的链接,

http://imsamma.com/

3 个答案:

答案 0 :(得分:0)

该网页上的

CSS 不透明度问题使用了opacity : 1;

opacity:0;内容
body.td-animation-stack-type0 .td-animation-stack .entry-thumb, body.td-animation-stack-type0 .post img {
     opacity: 1; 
}

答案 1 :(得分:0)

style.css

中删除此内容
<button class="fsc-modal-button">Read Bio</button>
<div class="fsc-modal" id="fsc-modal-1">
    <div class="fsc-modal-content"><span class="fsc-modal-close">×</span</div>
</div>

<button class="fsc-modal-button">Read Bio</button>
<div class="fsc-modal" id="fsc-modal-2">
    <div class="fsc-modal-content"><span class="fsc-modal-close">×</span</div>
</div>


<script type="text/javascript">

var button = document.getElementsByClassName('fsc-modal-button')[0];
var modal = document.getElementsByClassName('fsc-modal')[0];
var span = document.getElementsByClassName('fsc-modal-close')[0];

button.onclick = function() {
    modal.style.display = "block";
}

span.onclick = function() {
    modal.style.display = "none";
}

window.onclick = function(event) {
    if (event.target == modal) {
        modal.style.display = "none";
    }
}
</script>

答案 2 :(得分:0)

更改

body.td-animation-stack-type0 .td-animation-stack .entry-thumb, body.td-animation-stack-type0 .post img {
    opacity: 0;
}

body.td-animation-stack-type0 .td-animation-stack .entry-thumb, body.td-animation-stack-type0 .post img {
    opacity: 1;
}