本文介绍了Apple Pay蓝图主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为正确地提供对Apple Pay的支持,是否需要对蓝图主题进行主题修改?或者是否通过%% GLOBAL_AdditionalCheckoutButtons %%变量提供了主题修改?

Is a theme modification necessary for blueprint themes in order to properly provide support for apple pay or is it provided through the %%GLOBAL_AdditionalCheckoutButtons%% variable?

推荐答案

要获取带有白色bg/黑色文本的苹果付款按钮,您需要添加以下CSS:

To get the apple pay button with white bg/black text, you need to add the following css:

.apple-pay-checkout-button {
  background-image: -webkit-named-image(apple-pay-logo-black);
  background-color: white;
}

对于黑色文本/白色bg :

.apple-pay-checkout-button {
  background-image: -webkit-named-image(apple-pay-logo-black);
  background-color: white;
  border: .5px solid black
}

必要的html和积分位已经与您提到的变量一起存在

The necessary html and integrations bits are already there with the variable you mentioned

这篇关于Apple Pay蓝图主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 09:51