Tagged: x
-
AuthorPosts
-
July 28, 2016 at 1:51 pm #1107526
Renew http://www.protectiondogsuk.co.uk Lates WP and X Theme
I have added the following in the Customizer which works on my other site but not on protection dogs:
@media (max-width: 767px) {
.x-scroll-top .x-icon-angle-up:before {
content: “TOP”;
}
}.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;
}
It does not work on http://www.protectiondogsuk.co.uk unless I have made a mistake could you check for me. I’ll send private loginJuly 28, 2016 at 1:52 pm #1107528This reply has been marked as private.July 28, 2016 at 9:11 pm #1108135Hi there,
Thanks for writing in.
It’s due to cache, I went ahead and cleared them. Your CSS is now in effect.
Though, it’s only viewable on the mobile phone since you’re targeting it through
@media (max-width: 767px)
. If you wish to apply it on desktop too, then remove the @media block that wraps your CSS.Thanks!
July 29, 2016 at 2:12 am #1108418On my other website http://www.unifloors.co.uk it is visible on all devices with exactly the same css:
@media (max-width: 767px) {
.x-scroll-top .x-icon-angle-up:before {
content: βTOPβ;
}
}
So I don’t understand why it only shows on mobiles on http://www.protectiondogsuk.co.uk. I’ll send the log in for unifloorsJuly 29, 2016 at 2:13 am #1108419This reply has been marked as private.July 29, 2016 at 3:44 am #1108512Hi,
It is showing up fine on my end.
Kindly clear your plugin and browser cache then check again.
http://screencast.com/t/uLymvIir1
Thanks
July 29, 2016 at 3:51 am #1108518Sorry Paul but we are at cross purposes. Your screenshot is about clicking to the top of the page which is nothing to do with my question. I want to show the credit card icons in the paypal checkout. It just shows on mobiles at the moment on http://www.protectiondogsuk.co.uk and I want it to show on all devices as it does on http://www.unifloors.co.uk although the custom Css appears to be the same on both sites.
July 29, 2016 at 4:40 am #1108570Hi Jack,
Please remove any @media query that wraps your CSS if you’re aiming to display them regardless of devices.
Please note these,
@media (max-width: 767px) // Devices smaller than 767px which is mobile
@media (max-width: 979px) // Devices smaller than 979px which is tablet
@media (min-width: 980px) // Devices bigger than 980px which is desktop
If you don’t wish to selectively apply your CSS to the specific device, then please remove @media blocks. It’s part of development and device standard and not something we imposed.
I’m not sure what’s the difference between http://www.protectiondogsuk.co.uk/ and http://unifloors.co.uk/ but regardless, please remove @media wrapping as recommended if you wish to implement it on all devices.
Thanks!
July 29, 2016 at 5:05 pm #1109437I don’t think this is the problem. All the @media wrapping are in unifloors custom css but the icons still show in checkout and as I said before the custom Css appears to be the same on both sites.
July 29, 2016 at 11:01 pm #1109806Hi Jack,
Hmm, maybe I’m looking in the different area. Would you mind providing a video recording showing the difference between the two? Visual guide is always helpful π
Thanks!
July 30, 2016 at 1:31 am #1109885This reply has been marked as private.July 30, 2016 at 1:49 am #1109891Hi there,
Please add following code in Customize -> Custom -> JavaScript :
jQuery(".woocommerce-checkout label[for='payment_method_ppec_paypal'] img").attr("src","https://www.paypalobjects.com/webstatic/mktg/Logo/AM_mc_vs_ms_ae_UK.png");
Add this CSS code to :
button.paypal-button.paypal-style-checkout.paypal-color-gold.paypal-size-medium.paypal-shape-rect.en_US { display: none; }
Hope that helps.
July 30, 2016 at 2:17 am #1109904Sorry this does not work
July 30, 2016 at 3:37 am #1109935Hi there,
Please connect to FTP and upload
https://www.paypalobjects.com/webstatic/mktg/Logo/AM_mc_vs_ms_ae_UK.png
underhttps://www.paypalobjects.com/webstatic/en_US/i/buttons/
and rename it topp-acceptance-small.png
.Hope it helps.
July 30, 2016 at 3:49 am #1109944Thanks but I have no idea how to do this and I cannot understand why I did not have to do this on unifloors
-
AuthorPosts