@anevins this the css i used for the top menu bar
/* To change the color of all menus(active page) */
.navigation-top .current_page_item > a {
color: #2194af;
text-decoration: none;
border-bottom: 3px solid Green;
}
/* To change the color of all menus (on hover) */
.main-navigation a {
color: Green;
}
.navigation-top a:hover {
color: #2194af;
border-radius:5px;
border-bottom: 1px solid #2194af;
}
/*to move Twenty Seventeen logo to the Top menu*/
#masthead .wrap,
.navigation-top {
position: static;
}
.site-branding {
padding-right: 70px;
}
.site-navigation-logo {
position: absolute;
right: 0%;
top: 10%;
width: 60px;
}
@media screen and (min-width: 480px) {
.site-navigation-logo {
right: 10%;
top: 40px;
width: auto;
}
}
@media screen and (min-width: 768px) {
#masthead .wrap,
.navigation-top {
position: relative;
}
.site-branding {
padding-right: 0;
}
.site-navigation-logo {
position: static;
}
.site-navigation-logo,
.site-navigation-menu {
float: left;
}
.site-navigation-menu {
/* 20px = half the height of the logo to vertically center text */
margin-top: 20px;
}
}
.wrap { max-width: 1366px; }
/*For Content*/
.has-sidebar:not(.error404) #primary {
width: 60%
}
/*For Sidebar*/
.has-sidebar #secondary {
width: 30%
}
/*Responsive*/
@media(max-width:768px) {
/*For Content*/
.has-sidebar:not(.error404) #primary {
width: 100%
}
/*For Sidebar*/
.has-sidebar #secondary {
width: 100%
}
-
This reply was modified 6 years, 9 months ago by rae28.
-
This reply was modified 6 years, 9 months ago by rae28.