网站建设

wordpress主题Tint-Pro修改

以下内容仅为站长作备忘

样式:/wp-content/themes/Tint/assets/css/
custom.css

鼠标等效果:/wp-content/themes/Tint/assets/js/
custom.js
custom-m.js

页脚:/Tint/core/modules/
mod.Footer.php
mod.Footer.Simple.php

下载模板:/Tint/core/modules/
mod.Download.php

免登陆下载:/Tint/core/modules/
mod.Download.php

<?php if(!is_user_logged_in()) { ?>
<div class="contextual-bg bg-warning showicon"><h4>此处为免费下载内容,<a href="<?php echo tt_add_redirect(tt_url_for('signin'), tt_get_current_url()); ?>"><span>登录可见</span></a></h4></div>
<?php }else{ ?>
<ul class="free-resources">
<?php $seq = 0; foreach ($free_dls as $free_dl) { ?>
<?php $free_dl = explode('|', $free_dl); ?>
<?php if(count($free_dl) < 2) {continue;}else{ $seq++; ?>
<li>
<?php echo sprintf(__('%d. %2$s <a href="%3$s" target="_blank"><i class="tico tico-cloud-download"></i>点击下载</a> (密码: %4$s)', 'tt'), $seq, $free_dl[0], $free_dl[1], isset($free_dl[2]) ? $free_dl[2] : __('None', 'tt')); ?>
</li>
<?php } ?>
<?php } ?>
<?php } ?>
</ul>

后台:/Tint/dash/options.php
主题选项

订单结算:/Tint/assets/css/site-utils-8d8cf197b1.css
菜单颜色:
查找

header.simple-header{width:100%;height:60px;z-index:999;background:菜单颜色

背景颜色:/Tint/assets/css/custom.css
47行

body,body.single,body.home,body.archive,body.page,body.manage,body.me,body.author,body.error404{background: transparent;}

改成

body,body.single,body.home,body.archive,body.page,body.manage,body.me,body.author,body.error404{background-image: url(https://www.zykei.com/wp-content/uploads/2017/11/bg.png) }

登陆页logo大小:/Tint/assets/css/actions-c80122a18c.css

.action-page.signin>.wrapper>.main>.logo{max-width:200px;(默认120px)

图片阴影效果:/Tint/assets/css/single-a47c235558.css
查找single-article img后面添加{box-shadow:3px 3px 20px #695e5e}

.single-article img{box-shadow:3px 3px 20px #695e5e}
 
(3)

本文由 先锋资源 作者:先锋资源 发表,转载请注明来源!

关键词:, ,

热评文章

评论:

1 条评论,访客:1 条,博主:0 条

发表评论

电子邮件地址不会被公开。 必填项已用*标注