我今天在typecho下载了这个模板,由于是一个不懂技术的文科小白,但是有几点问题,我需要请教各位大大一下。
1.怎么样让这个图像向下显示,而不是居中,我比较喜欢麋鹿,但是这个样子它的角显示不出来。
2.我写博客不习惯插图,可不可以不让这显示图片,只显示标题和一部分文章。
3.还有就是这个右下角这个白框框怎么取消,或者有什么作用?
我的博客网址是WWW.ELK.PW 请各位大大多多指教。
模板问题求助
版主: seita
Re: 模板问题求助
1.这个主题banner限定高度300px,你可以把图片自己裁剪高度为300px
2.删除index.php里面kratos-entry-thumb-new class这个 div,并调整.kratos-post-inner-new 样式中margin-left
3.右下角白框是标签云吧,你随便新建一个标签就可以在这个框里看到了
2.删除index.php里面kratos-entry-thumb-new class这个 div,并调整.kratos-post-inner-new 样式中margin-left
3.右下角白框是标签云吧,你随便新建一个标签就可以在这个框里看到了
Re: 模板问题求助
ryanws 写了:1.这个主题banner限定高度300px,你可以把图片自己裁剪高度为300px
2.删除index.php里面kratos-entry-thumb-new class这个 div,并调整.kratos-post-inner-new 样式中margin-left
3.右下角白框是标签云吧,你随便新建一个标签就可以在这个框里看到了
第二个改正一下
是content.php中的
<div class="kratos-entry-thumb-new">
<?php kratos_blog_thumbnail_new() ?>
</div>
删除
Re: 模板问题求助
ccizm 写了:ryanws 写了:1.这个主题banner限定高度300px,你可以把图片自己裁剪高度为300px
2.删除index.php里面kratos-entry-thumb-new class这个 div,并调整.kratos-post-inner-new 样式中margin-left
3.右下角白框是标签云吧,你随便新建一个标签就可以在这个框里看到了
第二个改正一下
是content.php中的
<div class="kratos-entry-thumb-new">
<?php kratos_blog_thumbnail_new() ?>
</div>
删除
没用过这个主题,文章循环直接写在content.php里面了吧
Re: 模板问题求助
ddzr 写了:没有content.php这个文件啊
没有的话找index.php或者搜索整个主题文件夹文件
Re: 模板问题求助
ryanws 写了:ddzr 写了:没有content.php这个文件啊
没有的话找index.php或者搜索整个主题文件夹文件
index.php里面只有一半的代码,大神您再看看改哪?
<div class="kratos-entry-thumb-new">
<a href="<?php $this->permalink(); ?>"><img src="<?php echo showThumb($this,null,true); ?>"></a>
</div>
<div class="kratos-post-inner-new">
<header class="kratos-entry-header-new">
<a class="label"><?php $this->category(',',false); ?><i class="label-arrow"></i></a>
<h2 class="kratos-entry-title-new"><a href="<?php $this->permalink(); ?>"><?php $this->title(); ?></a></h2>
</header>
<div class="kratos-entry-content-new">
<p><?php $this->excerpt(90, '...'); ?></p>
</div>
</div>
Re: 模板问题求助
ddzr 写了:ryanws 写了:ddzr 写了:没有content.php这个文件啊
没有的话找index.php或者搜索整个主题文件夹文件
index.php里面只有一半的代码,大神您再看看改哪?
<div class="kratos-entry-thumb-new">
<a href="<?php $this->permalink(); ?>"><img src="<?php echo showThumb($this,null,true); ?>"></a>
</div>
<div class="kratos-post-inner-new">
<header class="kratos-entry-header-new">
<a class="label"><?php $this->category(',',false); ?><i class="label-arrow"></i></a>
<h2 class="kratos-entry-title-new"><a href="<?php $this->permalink(); ?>"><?php $this->title(); ?></a></h2>
</header>
<div class="kratos-entry-content-new">
<p><?php $this->excerpt(90, '...'); ?></p>
</div>
</div>
386439328 我的后宫群,加群问吧