【问题标题】:crossrider toolbar appear on top of the webpage?crossrider 工具栏出现在网页顶部?
【发布时间】:2014-11-12 22:28:53
【问题描述】:

这里是crossrider工具栏扩展demo的链接

click here

它是工具栏的演示,它显示在网站上。

那么解决办法是什么?

我试图改变它的 css 是

$('#xr-crossrider-example').css({
    'background-color':'#2CB7F4',
    height:'24px',
    margin: 0,
    padding: 0,
    position:'fixed',
    right:0,
    top:0,
    width:'100%',
    'z-index':'999'
});

【问题讨论】:

  • 请描述您的问题,不清楚您在问什么……谢谢!

标签: css crossrider


【解决方案1】:

在您的 CSS 选择器中使用选择栏,并使用 position: fixed; 使其贴在您的窗口顶部

类似这样的:

.app_header_top {
    position: fixed;
}

【讨论】:

  • 请仔细检查,使用 chrome 检查器我看到 .app_header_site_dropdowns .app_header_site_crossrider{ position:relative;} 你应该强制它使用 position: fixed !important;
  • 尝试使用 position: fixed !important;
猜你喜欢
  • 1970-01-01
  • 2016-10-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-09-29
  • 2012-02-18
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多