起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7393|回复: 1

[处理中3] 怎么去掉首页最下面的空白

[复制链接]

244

主题

688

帖子

1680

积分

金牌会员

Rank: 6Rank: 6

积分
1680
QQ
发表于 2021-7-31 14:32:21 | 显示全部楼层 |阅读模式
版本: 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
如图所示,页面的最下面有一个白色的条,怎么去掉。
3.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35920
发表于 2021-8-2 19:11:53 | 显示全部楼层
经典门户首页去掉div为footer后底部空白去掉
(1)修改 /UI/portal/system/css/screen.css
.clearfix:after, .container:after {content:".";display:block;height:0;clear:both;visibility:hidden;max-height:0;}
改为
.clearfix:after, .container:after {content:" ";display:block;height:0;clear:both;visibility:hidden;max-height:0;}
(2)修改 /UI/portal/index.w
在<head>中<script>标签前插入
<style>
        #content {
                padding-bottom: 0;
        }
</style>
(3)修改 /UI/portal/index.w
<div id="footer">
改为
<div id="footer" style="display: none;">
(4)修改 /UI/portal/x5/js/ext.js
var h = $(window).height() - (120 + parseInt($("#header").css("top").match(/-?\d+/)));
改为
var h = $(window).height() - (85 + parseInt($("#header").css("top").match(/-?\d+/)));
$(".funcIFrame", ".funcOwner").height(Math.max($("#functree_owner").height(),$(window).height(),200)-(121+parseInt($("#header").css("top").match(/-?\d+/))));
改为
$(".funcIFrame", ".funcOwner").height(Math.max($("#functree_owner").height(),$(window).height(),200)-(91+parseInt($("#header").css("top").match(/-?\d+/))));
(5)修改 /UI/portal/system/js/portal.js
$(".funcIFrame",target).height(Math.max($("#functree_owner").height(),$(window).height(),200)-(121+parseInt($("#header").css("top").match(/-?\d+/))));
改为
$(".funcIFrame",target).height(Math.max($("#functree_owner").height(),$(window).height(),200)-(91+parseInt($("#header").css("top").match(/-?\d+/))));
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-3 19:02 , Processed in 0.073266 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表