安企CMS:默认企业模板,菜单上不想要 多级菜单导航,删除方法
不想要下面这个效果的,如图:
删除base.html 大约57-65行 之间的代码 如下
{% archiveList products with type="list" categoryId=inner.PageId limit="8" %}
{% if products %}
<ul class="nav-menu-child-child">
{% for item in products %}
<li><a href="{{item.Link}}">{{item.Title}}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endarchiveList %}
进入安企CMS网站后台-模板设计-编辑-css/style.css 使用快捷键:Ctrl+h找到:#0068AB替换:#40a070 葱绿然后点击:Replace All (Ctrl+Alt+Enter) 就是全部替换的意思结束:保存 如图所示
安企CMS:博客a 复制表格 到内容,前端不显示的问题把以下代码复制到CSS后面 .post-content table { width: 100%; background-color: #fff; color: #111 } .post-content table tr { transition: all .3s; -webkit-transition: all .3s }
默认企业模板,无数据安装后,首页模板很多不显示的地方修改方法:1、公司介绍图片不显示:①创建单页URL别名 写:about②在单页这个页面-其他参数-缩略图
1、先创建:模型后台-内容管理-内容模型模型名称: 客户案例模型表名: caseURL别名: cases标题名称: 案例名称 2、创建案例内容管理-文档分类-创建分类分类名称:客户案例URL别名