Home › Forums › Air WordPress Theme › Remove Gpay / Paypal buttons on Product Page
- This topic has 8 replies, 2 voices, and was last updated 4 years, 11 months ago by
whitelightchase.
Viewing 9 posts - 1 through 9 (of 9 total)
-
AuthorPosts
-
July 6, 2021 at 6:44 am #25173
Hi,
How can I remove all the Gpay & Paypal buttons on my Product / cart page?
I want them to only appear during Checkout…July 6, 2021 at 7:20 am #25175This reply has been marked as private.July 6, 2021 at 2:46 pm #25179July 7, 2021 at 6:43 am #25184This reply has been marked as private.July 7, 2021 at 11:09 am #25188Hi,
how do I make the whole thumbnail clickable and not just at the title?
2 steps:
1. Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.product-caption {
cursor: pointer;
}2. It needs Javascript codes, please refer to the tutorials( JavaScript codes: https://doc.seatheme.net/general-topics/how-to-custom-a-wordpress-theme/#javascript-codes ) to add JS codes.
The JS codes:jQuery(document).ready(function( $ ){ if( $('body').hasClass('woocommerce') ) { $('.product-caption').on('click', function(){ var _url = $(this).find('.prouduct-item-a').attr('href') window.location.href = _url; }); } });Also, how do I make the text opaque?
Please add the custom CSS:
.product-item .inside:hover .product-caption { opacity: 1; }
July 7, 2021 at 12:15 pm #25189This reply has been marked as private.July 8, 2021 at 6:21 am #25190This reply has been marked as private.July 8, 2021 at 7:56 am #25194July 9, 2021 at 12:13 pm #25202This reply has been marked as private. -
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
