html - OpenCart 1.5.6.4, change the menu color -


opencart 1.5.6.4 default theme, want replace background color of dropdown menu, defined backgroung image 'menu.png', custom hex value. css here:

#menu > ul > li > div {     display: none;     background: #ffffff;     position: absolute;     z-index: 5;     padding: 5px;     border: 1px solid #000000;     -webkit-border-radius: 0px 0px 5px 5px;     -moz-border-radius: 0px 0px 5px 5px;     -khtml-border-radius: 0px 0px 5px 5px;     border-radius: 0px 0px 5px 5px;     background: url('../image/menu.png'); 

should replace last row in css code background: #0404b4;? purpose of background property in second row: background: #ffffff;?

if, don't want image in background. remove background image css. can use below css.

#menu > ul > li > div {     display: none;     background: #0404b4;;     position: absolute;     z-index: 5;     padding: 5px;     border: 1px solid #000000;     -webkit-border-radius: 0px 0px 5px 5px;     -moz-border-radius: 0px 0px 5px 5px;     -khtml-border-radius: 0px 0px 5px 5px;     border-radius: 0px 0px 5px 5px; } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -