我在这个页面上遇到了一个奇怪的问题,图像链接在桌面上可以打开,但由于某种原因,在移动设备中点击图像没有任何作用。iphone和android!链接应该在手机中打开!
页面链接http://gp.serverlake.com/press/
有人想一想吗?
从自定义字段中提取图像的HTML
<div class="col-lg-3 col-md-4 col-xs-12 thumb"><a href="<?php echo $imglink; ?>" class="thumbnail" target="_blank">
<img class="img-responsive margin-tp" src="<?php echo $img;?>" alt="" style="margin-top: 25px;" /></a>
<div class="name text-center"><?php echo $title;?></div>
</div>
修复很容易。图像上的Z索引成功了!
.thumb .thumbnail img {
position: relative;
z-index: 99999;
}