简体   繁体   English

顶栏和 header 的 css 覆盖问题

[英]css overlay issue with topbar and header

I have a div element on top bar but all the elements of the top bar get down to the header, how can I fix that?我在顶栏上有一个 div 元素,但顶栏的所有元素都下降到 header,我该如何解决? Screenshot截屏

Please use ".important" rule on #site-header.请在#site-header 上使用“.important”规则。

Please use this CSS after this https://karaokemaza.com/wp-content/cache/wpfc-minified/lcjpsnov/dkco4.css .请在此https://karaokemaza.com/wp-content/cache/wpfc-minified/lcjpsnov/dkco4.ZC7A628CBA22E28EB17B5F5C6AE2 之后使用此 CSS

Screenshot:- https://prjain19.imgur.com/all截图:- https://prjain19.imgur.com/all

#site-header{z-index:100 !important;}

please try this请试试这个

Add Position:static to topbarPosition:static添加到顶栏

#topbar{
  position: static;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM