-
Using CSS Opacity to Create Transparent Images
CSS: #img1 { opacity: 1 } #img2 { opacity: 0.6 } HTML: Using CSS Opacity for Backgrounds You can assign opacity to backgrounds in two ways. In the first way, you specify a value for the opacity property as you saw in the examples we worked on so far. div { opacity: 0.5; } In…
-
Active Class for WordPress
If WordPress Theme doesn’t support ability indicate the current page, you can add script to your functions.php and use the .active CSS Class to style the current navigation item. Add to functions.php: /* * Active Class Menu */ add_filter(‘nav_menu_css_class’ , ‘special_nav_class’ , 10 , 2); function special_nav_class($classes, $item){ if( in_array(‘current-menu-item’, $classes) ){ $classes[] = ‘active…
-
baseball
you are the last breath of my cig – letting my lungs scream against the cold air – a quick peace off the edge down into insanity- with no where to be, no one to become –
-
Paypal image Checkout
wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php $icon = ‘https://www.paypalobjects.com/webstatic/mktg/logo/AM_mc_vs_dc_ae.jpg’; Addjust size in the theme CSS: li.payment_method_paypal img { height: 55px; } or remove image: li.payment_method_paypal img { display: none; }
-
Remove “What is Paypal”
Place in theme css: template.css // style.css /* Paypal ==================================== */ a.about_paypal { display: none !important; } li.payment_method_paypal img { height: 55px; }
-
edit checkout page
add elements below the review order and above the payment section: wp-content/plugins/woocommerce/templates/checkout/review-order.php <tr><td>ADD HTML</td></tr> <?php do_action( ‘woocommerce_review_order_after_order_total’ ); ?> </tfoot> </table>