code

oplossingen voor wordpress

copy paste and use

hide scrollbar
hide scrollbar
				
					<p>/* Hide scrollbar for Chrome, Safari and Opera */<br />
body::-webkit-scrollbar {display: none;}</p>
<p>/* Hide scrollbar for IE and Edge */</p>
<p>body::-webkit-scrollbar{</p>
<p>-ms-overflow-style: none;</p>
<p>}</p>

				
			
Always show scrollbar
Always show scrollbar
				
					<p>html {<br />
overflow-y: scroll;<br />
}</p>

				
			
Add Woocommerce Variable Product Description to cart and checkout
This will need to go into your functions.php file and be sure its added in a child-theme so when updating your theme you don’t loose the filter.
				
					<p>function cart_item_product_description( $item_name, $cart_item, $cart_item_key ) {<br />
if ( ! is_checkout() ) {<br />
if( $cart_item['variation_id'] &gt; 0 ) {<br />
$description = $cart_item['data']-&gt;get_description(); // variation description<br />
} else {<br />
$description = $cart_item['data']-&gt;get_short_description(); // product short description (for others)<br />
}</p>
<p>if ( ! empty($description) ) {<br />
return $item_name . '&lt;br&gt;&lt;div class="description"&gt;<br />
&lt;b&gt;&lt;br&gt;' . __( 'Description', 'woocommerce' ) . ':&lt;/b&gt;&lt;/br&gt; '. $description . '<br />
&lt;/div&gt;';<br />
}<br />
}<br />
return $item_name;<br />
}</p>
<p>add_filter( 'woocommerce_checkout_cart_item_quantity', 'cart_item_checkout_product_description', 20, 3);<br />
function cart_item_checkout_product_description( $item_quantity, $cart_item, $cart_item_key ) {<br />
if( $cart_item['variation_id'] &gt; 0 ) {<br />
$description = $cart_item['data']-&gt;get_description(); // variation description<br />
} else {<br />
$description = $cart_item['data']-&gt;get_short_description(); // product short description (for others)<br />
}</p>
<p>if ( ! empty($description) ) {<br />
return $item_quantity . '&lt;br&gt;&lt;div class="description"&gt;<br />
&lt;br&gt;&lt;strong&gt;' . __( 'Description', 'woocommerce' ) . ':&lt;/br&gt;&lt;/strong&gt; '. $description . '<br />
&lt;/div&gt;';<br />
}</p>
<p>return $item_quantity;</p>

				
			
Fix FAUC
Add to Child Theme Functions.php
				
					<p>*/ Change insert_template_id with the actual template id / *<br />
add_action( 'wp_enqueue_scripts', function() {<br />
if ( ! class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {<br />
return;<br />
}<br />
$template_id = insert_template_id;<br />
$css_file = new \Elementor\Core\Files\CSS\Post( $template_id );<br />
$css_file-&gt;enqueue();<br />
}, 500 );</p>

				
			
icon / icon widget outline
				
					<p>selector .elementor-icon {<br />
color: currentColor;<br />
-webkit-text-fill-color: transparent;<br />
-webkit-text-stroke-width: 1px;<br />
-webkit-text-stroke-color: currentColor;<br />
text-align: center;<br />
}</p>

				
			
smooth transition caroussel
smooth transition caroussel
				
					<p>selector .swiper-wrapper{</p>
<p>-webkit-transition-timing-function: linear !important;<br />
transition-timing-function: linear !important;</p>
<p>}</p>