Tagged: x
-
AuthorPosts
-
February 20, 2017 at 10:22 pm #1379211
hnr2802ParticipantHi there,
i used below css code to display the payment method logo images.payment_box.payment_method_paypal img {
display: none;
}
.woocommerce-account form .payment_methods label img, .woocommerce-checkout form .payment_methods label img {
display: block;
}can i reduce their image size?
furthermore, is it possible to add a title “Payment Method” for the Payment Method section.February 21, 2017 at 1:35 am #1379382
RupokMemberHi there,
Thanks for writing in! We can help you with this but need your URL. Kindly provide us the exact URL where we can see them.
Cheers!
February 21, 2017 at 2:46 am #1379453
hnr2802Participantit is the checkout page for my website
February 21, 2017 at 2:46 am #1379454
hnr2802ParticipantThis reply has been marked as private.February 21, 2017 at 4:45 am #1379554
ThaiModeratorHi There,
Your website is under construction mode.
Please provide us with your admin account so we can take a closer look.
Thanks.
February 21, 2017 at 10:42 pm #1380840
hnr2802ParticipantThis reply has been marked as private.February 22, 2017 at 2:53 am #1381021
ChristopherModeratorHi there,
Please update your code to :
.woocommerce-account form .payment_methods label img, .woocommerce-checkout form .payment_methods label img { display: block; width: 19%; }Hope it helps.
February 22, 2017 at 10:01 pm #1382315
hnr2802Participanti have tried updateing the code. but nothing change. please advice.
just to be clear, my request are:1) reduce the payment method logo image size (e.g. Paypal & Senangpay)
2) add a title “Payment Method” for the Payment Method section.February 23, 2017 at 1:02 am #1382498
RadModeratorHi there,
I just tried that CSS and it works, but if you’ll add that on customizer’s custom CSS then it will not work due to this CSS
@media (max-width:760px){ .x-brand img { width: 220px; }It should be properly closed if you plan to add new CSS after.
@media (max-width:760px){ .x-brand img { width: 220px; } }About the title, please add this as well
#payment:before { content: "Payment Methods"; display: block; margin-top: 60px; font-size: 164%; font-family: "Lato",sans-serif; font-style: normal; font-weight: 300; margin-bottom: 10px; }Hope this helps.
February 23, 2017 at 9:45 pm #1383822
hnr2802ParticipantThanks for the advice.
How about reducing the Payment Method image as per my previous query?
1) reduce the payment method logo image size (e.g. Paypal & Senangpay)February 24, 2017 at 1:53 am #1384017
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.wc_payment_method payment_method_senangPay img { width:200px; } .wc_payment_method payment_method_paypal img { width:200px; }Change 200px to achieve your desired width.
Thanks
February 26, 2017 at 8:14 pm #1386685
hnr2802ParticipantHi paul,
i tried using the code but the image does not reduced their size. please adviceFebruary 26, 2017 at 11:00 pm #1386832
ChristopherModeratorHi there,
Please remove extra curly bracket from following code :
/* Button Space*/ body.woocommerce-checkout .wc-terms-and-conditions { margin-bottom: 20px !important; } }and add the code I provided in previous replay https://community.theme.co/forums/topic/payment-method-title-and-image-size/#post-1381021
Hope it helps.
February 28, 2017 at 2:47 am #1388451
hnr2802ParticipantAwesome. But is it possible that the image reduce only in desktop browser not mobile?
February 28, 2017 at 6:36 am #1388661
Paul RModeratorYes, please replace the code with this.
@media (min-width: 979px) { .wc_payment_method payment_method_senangPay img { width:200px; } .wc_payment_method payment_method_paypal img { width:200px; } }Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1379211 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
