This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Hide price **/ | |
| .has-extra-fields .woocommerce-variation .woocommerce-variation-price { | |
| display: none !important; | |
| visibility: hidden !important; | |
| } | |
| .has-extra-fields .woocommerce-variation-price { | |
| display: none !important; | |
| visibility: hidden !important; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Hide arrows on number input fields **/ | |
| input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { | |
| display: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Styling request a quote page **/ | |
| .wcraq-request-forms { | |
| padding-top: 60px; | |
| } | |
| #wcraq-request-quote table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th { | |
| background-color: #fff; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Show custom attributes in child product | |
| */ | |
| /** | |
| *Snippet to add show ACF field content in child product | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Tabs background color **/ | |
| .pewc-preset-style .pewc-tabs-wrapper .pewc-tab { | |
| background: #fff; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Two columns for radio buttons on desktop view **/ | |
| @media only screen and (min-width: 600px) { | |
| .pewc_group_7974_7987 ul.pewc-checkbox-group-wrapper{ | |
| display: grid; | |
| grid-auto-columns: 200px 200px; | |
| grid-template-rows: repeat(8, 30px); | |
| gap: 10px; | |
| grid-auto-flow: column; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media only screen and (min-width: 600px) { | |
| .pewc-radio-image-desc { | |
| font-weight: 400; | |
| font-size: 11px; | |
| overflow-wrap: break-word; | |
| line-height: 13px; | |
| } | |
| } | |
| .pewc-preset-style .pewc-radio-image-wrapper, .pewc-preset-style .pewc-checkbox-image-wrapper { | |
| padding: 0.1em; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media (max-width: 600px) { | |
| .pewc-preset-style .pewc-radio-image-wrapper, .pewc-preset-style .pewc-checkbox-image-wrapper{ | |
| border: none; | |
| } | |
| .pewc-preset-style .pewc-radio-image-wrapper.checked, .pewc-preset-style .pewc-radio-image-wrapper:not(.pewc-checkbox-disabled):hover, .pewc-preset-style .pewc-checkbox-image-wrapper.checked, .pewc-preset-style .child-product-wrapper:not(.pewc-column-wrapper) .pewc-checkbox-image-wrapper:not(.pewc-checkbox-disabled):hover{ | |
| border: none; | |
| } | |
| .pewc-radio-image-wrapper label img, .pewc-checkbox-image-wrapper label img { | |
| border: 3px solid #EEE; | |
| min-height: 200px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .pewc-preset-style .pewc-radio-images-wrapper, .pewc-preset-style .pewc-checkboxes-images-wrapper { | |
| -webkit-justify-content: flex-start; | |
| justify-content: flex-start; | |
| } | |
| .pewc-radio-images-wrapper.pewc-columns-3 .pewc-radio-image-wrapper{ | |
| margin: 1%; | |
| } | |
| .pewc-radio-images-wrapper.pewc-columns-2 .pewc-radio-image-wrapper{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| *Snippet to add show ACF field content in child product | |
| */ | |
| function acf_filter_field($title, $child_product) { | |
| return sprintf('<h4>%s</h4><p>%s</p>', | |
| $title, | |
| get_field('alcool', $child_product->get_ID()) /** Alcohol is the ACF field name **/ | |
| ); |