-
AuthorPosts
-
March 31, 2015 at 11:58 am #239158
thobriParticipantHi there
How do you show the paypal icon – as well as credit cards logos for other payment solutions – on the checkout page?
Seems like it is disabled somewhere but cannot find out where.I am using childtheme and have tried adding this in my css:
.woocommerce-checkout .checkout .payment_methods label img {
display: inherit;
}No success…
Hope you can help as usual.
Thanks
Regards Thobri
March 31, 2015 at 12:20 pm #239166
thobriParticipantThis reply has been marked as private.March 31, 2015 at 3:23 pm #239283
Prasant RaiModeratorHey There,
Thanks fro writing in!
You can WooCommerce Accepted Payment Methods plugins.
Hope that helps.
Thanks.
March 31, 2015 at 4:41 pm #239347
thobriParticipantNo – that’s not what I am looking for…
I offer 2 payment-options:
1. Paypal
2. Credit cards (visa, master, American Express and a few more)Normally there is a Paypal logo next to the “Paypal – What is Paypal?” heading. This must have been hidden in theme or css. I am using childtheme integrity_light. How do I get the standard Paypal logo back?
Regarding No. 2 – credit cards – I am sure I can get it to work showing the card icons in the same manner as Paypal once I have the logo back.
Is it not true that you hide the paypal icon in theme somehow?
Thanks.
March 31, 2015 at 8:07 pm #239467
DarshanaModeratorThis reply has been marked as private.March 31, 2015 at 8:56 pm #239487
thobriParticipantThis reply has been marked as private.April 1, 2015 at 2:57 am #239618
Paul RModeratorHi Thobri,
To change it, you can add this under Custom > Javascript in the Customizer.
jQuery(function($) { $('.woocommerce-checkout-payment .payment_method_epay_dk img').attr( "src", "image.jpg" ); });Change image.jpg with the absolute path of your epay image
Hope that helps.
April 1, 2015 at 5:22 am #239709
thobriParticipantThanks a lot!
Cheers
April 1, 2015 at 6:11 am #239735
Paul RModeratorYou’re welcome!
June 26, 2015 at 4:05 am #313579
Thomas LParticipantHey guys,
I have the same question but the staff reply is marked as private. How do I display the CC’s and Paypal images on the checkout page?
Thanks!
June 26, 2015 at 4:10 am #313580
Thomas LParticipantActually just found the CSS line I needed to overwrite.
For people looking to find it the magic happens here on Integrity Light (at least):
.woocommerce-account .checkout .payment_methods label img, .woocommerce-account .form-edit-address .payment_methods label img, .woocommerce-checkout .checkout .payment_methods label img, .woocommerce-checkout .form-edit-address .payment_methods label img {
display: none;
}Just override by something like
.woocommerce-account .checkout .payment_methods label img, .woocommerce-account .form-edit-address .payment_methods label img, .woocommerce-checkout .checkout .payment_methods label img, .woocommerce-checkout .form-edit-address .payment_methods label img {
display: inline !important;
}And take care of whatever formating problem you might have.
June 26, 2015 at 5:00 am #313639
Paul RModeratorThanks for sharing.
Have a nice day!
July 11, 2015 at 5:21 am #327258
194rocParticipantHi Thomas, I have the same problem on my site.
Where esactly is locate the CSS file that need to be modified. I am using renew child theme, but if you could send your path I should be able to apply it to my situation.
One more thing, changing those setting, will it work with the next update of the theme or should I modified it any times a update is done ?
Thanks,
Roberto
July 11, 2015 at 6:00 am #327274
ChristopherModeratorHi Robert,
I’ve already provided you with CSS to insert paypal icon in checkout page in your other topic, CSS won’t alter during theme update.
Thanks.
July 14, 2015 at 5:10 am #329641
194rocParticipantHello there,
you are absolutely right, and I fix it with your code, but as I did for PayPal, I would like to insert an image related to the credit card accepted.
I try to insert the code below in the customizer but it doesn’t workjQuery(function($) { $('.woocommerce-checkout-payment .payment_method_epay_dk img').attr( "src", "image.jpg" ); });Than I try to insert a different code as below and seems to work. Is it correct ?
/* visualizza il logo cartecredito nella pagina di checkout */ li.payment_method_gestpay-starter label:before { content: url("http://www.castello.it/wp-content/plugins/woocommerce/includes/gateways/simplify-commerce/assets/images/cards.png"); vertical-align: middle; }Thanks,
Roberto
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-239158 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
