I love the Salient WordPress Theme. I’ve pretty much been able to hack the heck out of it to get it to do anything I want it to. Here are some notes to myself, incase anyone else is interested.
Wider Drop Down Menus
/* wider drop down menu */
.sf-menu ul {
width: 22em !important;
}
Customize Posts Hide Love Icons
@media all {
.portfolio-items .work-meta {
text-align: center !important;
width: 100% !important;
}
}
@media all {
.portfolio-items .work-meta h4 {
font-size: 12px !important;
}
}
@media all {
.portfolio-items .nectar-love-wrap {
display: none;
}
}
Add background Image or Pattern Behind Header/Menu Area
#header-outer {
background-image: url(https://site.com/wp-content/uploads/2022/11/image.jpg);
}
</code >
<h3>Add A Button In The Secondary Nav</h3>
<code>
#header-secondary-outer nav > ul > li.button_solid_color > a:before {
background-color: #ce5d25;
display: block;
position: absolute;
left: 0;
padding-bottom: 10px;
transform: translateY(-7px);
-webkit-transform: translateY(-7px);
-ms-transform: translateY(-7px);
width: 100%;
height: 16px;
content: ' ';
z-index: -1;
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
-o-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
}
#header-secondary-outer nav > ul > li.button_solid_color > a {
color: #f7f7f7 !important;
}
Basic Media Queries For Salient
/* mobile queries */
@media only screen and (max-width: 1000px) {
}
/* desktop queriers */
@media only screen and (min-width: 1000px) {
}
/* all sizes */
@media all {
}
Chevron Menu Indicator To All Themes Variants
body header#top nav > ul > li.menu-item-has-children > a:after {
content: "\f107";
font-family: 'FontAwesome';
text-decoration: inherit;
display: inline-block;
speak: none;
font-size: 12px;
line-height: 16px;
height: auto;
background-color: transparent!important;
width: 8px;
padding-left: 8px;
}
/* To get this to work you must change this: Header Navigation > Animation Effects > Header Link Hover/Active Effect > to Color Change */
Change The Secondary Nav Font Size
body #header-secondary-outer nav > ul > li > a {
line-height: 13px!important;
font-size: 15px!important;
}
Removing Lines Between Social Icons In Secondary Navigation
body #header-secondary-outer nav > ul > li > a {
border: none!important;
}