知更鸟Begin主题CMS风格如何将幻灯片设置为通栏显示

2018年12月26日12:46:57 发表评论 2,637 views

这个其实很简单,首先打开begin主题根目录的cms.php模板文件,将第6行到第8行的:

  1. <?php if (zm_get_option('slider')) { ?>
  2.     <?php require get_template_directory() . '/inc/slider.php'; ?>
  3. <?php } ?>

将以上代码移动到第1行,这样幻灯就会变为通栏并自适应了。

 

站长小智

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: