doushichi3678 2012-05-01 00:30
浏览 32
已采纳

使用CSS在Wordpress中显示图像的问题

I have a blog and changed some of the php and css of the template so it could show the exact image size that I need, as you can see below:

http://hynx.com.br/?page_id=230

The old template used to show 4 images per line, and it seems to be forcing that, even after the resize. I've tried to change almost everywhere with firebug to make that huge gap before the "Goof Troop" image go away, but I just can't.

  • 写回答

1条回答 默认 最新

  • duanliang8464 2012-05-01 00:37
    关注

    Your loop probably has a line like this at the end.

    <?php if($i%4==0) : ?><?php endif; ?>
    

    If so just change it to 3.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 LiBeAs的带隙等于0.997eV,计算阴离子的N和P
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 matlab有关常微分方程的问题求解决,来真人,不要ai!
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法