Hi, FIRST post so forgive me if I make mistakes !! Well who can solve my two problems. First how do I center text in my menubar ( which is full width 100%). And second how do I change the colours of the menubar when hovering and the corresponding drop down menu.
Now all is light transparant black, with blue hover effects, but I want to be able to change the colours to my liking. don't know about CSS coding at all, I do know how to use it and understand the codes for colours 0ffff etc.
-
This is the code for the menu now !!
Code:
.nav-primary a:hover {
text-decoration: none;
border-bottom: 3px solid blue;
}
/* Menu */
.nav-primary .menu .sub-menu li a:hover, .nav-primary .menu .sub-menu li a:focus, .nav-primary .menu .children li a:hover, .nav-primary .menu .children li a:focus {
background: blue;
}.nav-primary a:hover {
text-decoration: none;
border-bottom: 3px solid blue;
}
/* Menu */
.nav-primary .menu .sub-menu li a:hover, .nav-primary .menu .sub-menu li a:focus, .nav-primary .menu .children li a:hover, .nav-primary .menu .children li a:focus {
background: blue;
}.nav-primary a:hover {
text-decoration: none;
border-bottom: 3px solid blue;
}
/* Menu */
.nav-primary .menu .sub-menu li a:hover, .nav-primary .menu .sub-menu li a:focus, .nav-primary .menu .children li a:hover, .nav-primary .menu .children li a:focus {
background: blue;
}
#feature-slider .entry-container { display: none; }
.nav-primary .wrapper { width: 100%; }
CodingForums...
ما را در سایت CodingForums دنبال می کنید
برچسب : نویسنده : codingforums بازدید : 197 تاريخ : سه شنبه 20 تير 1396 ساعت: 4:56