Remove the white line from the menu bar ?
-
Hello. How can be removed the white line from the menu bar ? I wish to do a solid color menu bar. Thanks for help.
-
Can you post a link to your site?
and if its possible show us that line with screenshot .
https://www.dropbox.com/s/mqmr501kf9peahb/Screenshot.png?dl=0 Arrow shows the line which i want to remove from the menu bar.
In your theme’s custom CSS option (Dashboard > Theme Options > Custom CSS), try this code:
.menu-container .menu-header { background: blue !important; } ul.nav-menu li.nav-hover ul { background: blue; }
Thanks you stephencottontail. It’s works. But now it’s looks quite different. I use the same color, but i guess now missing some effects. Maybe is possibility leave the same effects but without white line ? https://www.dropbox.com/sc/me2fhv6iu865gbm/AAAfwKP-XXvJy2Eew2YLdpnqa
Have you tried playing with the built-in theme options (Dashboard > Theme Options > Styling > Custom Menu Color)? You might get something you like.
Or you could try something like this, then:
.menu-container .menu-header { background: #1e5799 !important; /* Old browsers */ background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%) !important; /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)) !important; /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%) !important; /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%) !important; /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%) !important; /* IE10+ */ background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%) !important; /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ) !important; /* IE6-9 */ } ul.nav-menu li.nav-hover ul { background: #1e5799; /* Old browsers */ background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(50%,#2989d8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* IE10+ */ background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */ }
Finally, you could try playing with a gradient generator like this one: http://www.colorzilla.com/gradient-editor/. Just bear in mind that because your theme uses
!important
, you’ll need to use!important
as well.I will try to play with. Thanks for the help. I’ll try to find out. I think it can help me 🙂
- The topic ‘Remove the white line from the menu bar ?’ is closed to new replies.