Wordpress菜单上的灰色阴影

时间:2017-12-08 12:25:29

标签: html css wordpress css3

大家早上好!

我正在使用Wordpress主题创建一个网站,而我的菜单有一个我无法删除的灰色阴影。 Grey shadow on menu

当我将鼠标放在其他"类别"。

时,会出现同样的问题

我已经查看了谷歌,并尝试将自定义CSS更改为以下内容:

@echo off
for /f "delims=" %%i in ('dir /b /a-d *.7z') do (
set "filename=%%~i"
setlocal enabledelayedexpansion
set "folder1=!filename:~0,4!"
set "subfolder1=_!folder1:~0,1!000-!folder1:~0,1!999"
set "firstdigit=!filename:~0,1!"
set "parent=\\nas01\The_Archives"

REM CONDITIONAL STATEMENTS
IF !folder1! GEQ !firstdigit!000 IF !folder1! LEQ !firstdigit!249 SET "subfolder2=_!firstdigit!000-!firstdigit!249"
IF !folder1! GEQ !firstdigit!250 IF !folder1! LEQ !firstdigit!499 SET "subfolder2=_!firstdigit!250-!firstdigit!499"
IF !folder1! GEQ !firstdigit!500 IF !folder1! LEQ !firstdigit!749 SET "subfolder2=_!firstdigit!500-!firstdigit!749"
IF !folder1! GEQ !firstdigit!750 IF !folder1! LEQ !firstdigit!999 SET "subfolder2=_!firstdigit!750-!firstdigit!999"

mkdir "!parent!\!subfolder1!\!subfolder2!" 2>nul
copy "!filename!" "!parent!\!subfolder1!\!subfolder2!" >nul
)

(我添加了 #menu-barra-superior.nav.navbar-nav { background-color: #B40404; text-shadow: none !important; } .navbar-default .navbar-nav > li > a { color: #FFBF00; text-shadow: none !important; } .dropdown-menu > li > a { color: #FFBF00; text-shadow: none !important; } .navbar-default .navbar-nav > .active > a { color: #FFBF00; text-shadow: none !important; } ),但这似乎不起作用。

有人能帮帮我吗?提前谢谢!

1 个答案:

答案 0 :(得分:0)

尝试:

box-shadow: none;

而不是文字阴影

menu-barra-superior.nav.navbar-nav { 
  background-color: #B40404;
  box-shadow: none !important;
}

.navbar-default .navbar-nav > li > a {
  color: #FFBF00;
  box-shadow: none !important;
}

.dropdown-menu > li > a {
  color: #FFBF00;
  box-shadow: none !important;

}

.navbar-default .navbar-nav > .active > a {
  color: #FFBF00;
  box-shadow: none !important;

}