在SharePoint中冻结导航和徽标 [英] Freezing Navigation and logo in SharePoint

查看:76
本文介绍了在SharePoint中冻结导航和徽标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望冻结导航(全局"/顶部"和快速"/左侧")以及SharePoint页面上的徽标.我们将两个顶部的条固定在一个位置,但是当您向下浏览页面时,导航栏和徽标会滚动.

We are looking to freeze the navigation (both Global/top and quick/left) as well as the logo on a SharePoint page. We have the two top bars in a fixed position but the navs and logo scroll when you go further down the page.

绿色区域保持固定,但红色区域随页面正文滚动.

The area in green stays fixed but the area in RED scroll with the page body.


任何建议将不胜感激.

推荐答案

以下CSS样式供您参考:

The following CSS style for your reference:

<style type="text/css">
#s4-titlerow{
	position : fixed ;
}
#contentBox{
	margin-top:74px;
}
#sideNavBox{
	position : fixed;
	margin-top:74px;
}
</style>

将CSS添加到母版页中以使其适用于所有页面.

Add the CSS into master page to make it works for all pages.

最好的问候,

丹尼斯


这篇关于在SharePoint中冻结导航和徽标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆