Files
klz-cables.com/reference/klz-cables-clone/wp-content/themes/salient-child/style.css
2026-01-16 17:54:25 +01:00

251 lines
5.5 KiB
CSS

/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI: https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI: https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
.nectar-cta .text {
font-weight: 700;
}
.woocommerce-result-count {
display: none !important;
}
#mobile-categories .replaced-svg,
#desktop-categories .replaced-svg {
width: 50px;
}
#desktop-categories .replaced-svg {
color: #fff;
fill: #fff;
}
#mobile-categories p {
font-size: 14px !important;
line-height: 1.33 !important;
}
.nectar-post-grid {
margin: 0 !important;
}
#ajax-content-wrap .nectar-post-grid .meta-category .style-see-through-button:before {
background-color: rgba(0,0,0,0.4);
backdrop-filter: blur(20px);
}
.blog-title .entry-title,
.nectar-post-grid[data-text-layout=all_middle] .nectar-post-grid-item .content .post-heading {
font-weight: bold !important;
line-height: 1.2 !important;
}
.nectar-post-grid .nectar-post-grid-item__meta-wrap * {
font-size: 12px;
}
.related-post-wrap {
display: none;
}
.blog_next_prev_buttons[data-style=fullwidth_next_prev] ul .next-post:after, .blog_next_prev_buttons[data-style=fullwidth_next_prev] ul .previous-post:after, .container-wrap[data-nav-pos=after_project_2] .bottom_controls .next-project:after, .container-wrap[data-nav-pos=after_project_2] .bottom_controls .previous-project:after {
background-color: rgba(0, 0, 0, 0.5);
position: absolute;
left: 0;
top: 0;
content: '';
display: block;
z-index: 1;
width: 100%;
height: 100%;
opacity: 1;
-webkit-transition: opacity .4s cubic-bezier(.05,.2,.1,1) 0s;
transition: opacity .4s cubic-bezier(.05,.2,.1,1) 0s;
backdrop-filter: blur(5px);
}
.nectar-post-grid-item .meta-category {
margin-bottom: 20px;
}
.single-product .single-product-main-image {
float: none;
width: 100%;
aspect-ratio: 1920 / 400;
margin-bottom: 40px;
}
.single-product .summary {
width: 100% !important;
float: none !important;
}
.attachment-woocommerce_thumbnail,
.single-product .wp-post-image {
-webkit-box-reflect: below -50% linear-gradient(transparent, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0));
}
.products.columns-1 {
margin-bottom: 10% !important;
}
.product-category a {
display: flex;
flex-direction: column-reverse;
margin-bottom: 20px;
}
.product-category img {
-webkit-box-reflect: below -50% linear-gradient(transparent, rgba(0, 0, 0, 0.2) 5%, rgba(0, 0, 0, 0));
}
@media (max-width: 767px) {
.hide-on-mobile {
display: none !important;
}
#field_ocfup1_label,
#footer-widgets #archives-1,
#footer-widgets #categories-1,
#footer-widgets #recent-posts-1 {
display: none !important;
}
#footer-widgets .col {
margin-bottom: 0 !important;
}
}
@media (min-width:768px) {
.hide-on-desktop {
display: none !important;
}
.menu-item:not(.lang-item) + .lang-item {
margin-left: 20px !important;
}
.menu-item.lang-item .menu-title-text:after {
display: none !important;
}
.menu-item.lang-item img {
margin-bottom: 0 !important;
}
.menu-item.lang-item a {
margin-left: 5px !important;
margin-right: 5px !important;
}
}
.video-row {
display: flex;
align-items: center;
justify-content: center;
min-height: 200px;
}
.vlp-link-container {
border-color: #eee !important;
display: flex !important;
align-items: center !important;
font-size: 80%;
line-height: 1.33;
}
.vlp-link-container img {
margin-bottom: 0 !important;
}
.masonry-blog-item .title,
.large-featured-post-title .full-slide-link {
font-weight: bold !important;
}
.post table {
margin-top: 2rem !important;
margin-bottom: 2rem !important;
}
.post table td, .post table th {
text-align: left !important;
}
ol > li {
margin-bottom: 2em;
}
.summary.entry-summary h1.product_title.entry-title.nectar-inherit-default {
float: left;
width: 60%;
}
.summary.entry-summary p.price.nectar-inherit-default {
float: left;
width: 60%;
}
.summary.entry-summary .woocommerce-product-details__short-description {
float: left;
width: 60%;
}
.summary.entry-summary div[id^="frm_form_"][id$="_container"].frm_forms {
float: right;
width: 35%;
background: #EEE;
padding: 20px;
border: 1px solid #AAA;
box-sizing: border-box;
margin-bottom: 10px;
}
.frm_style_formidable-style .frm_form_field:last-of-type {
margin-bottom: 0 !important;
}
.summary.entry-summary .product_meta {
display: none;
clear: both;
}
.summary.entry-summary::after {
content: "";
display: table;
clear: both;
}
/* Responsive adjustments for mobile devices */
@media (max-width: 768px) { /* You can adjust the breakpoint (768px) as needed */
.summary.entry-summary h1.product_title.entry-title.nectar-inherit-default,
.summary.entry-summary p.price.nectar-inherit-default,
.summary.entry-summary .woocommerce-product-details__short-description,
.summary.entry-summary div[id^="frm_form_"][id$="_container"].frm_forms {
float: none;
width: 100%; /* Make elements full width */
margin-left: 0;
margin-right: 0;
}
.summary.entry-summary div[id^="frm_form_"][id$="_container"].frm_forms {
margin-top: 20px; /* Add some space above the form when it stacks */
}
}
.woocommerce ul.products .product-category {
border: 1px solid #aaa !important;
background-color: #efefef !important;
padding-bottom: 6% !important;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title {
margin: 0 20px !important;
font-size: 24px !important;
}