Apple Pay on Blueprint themes

痴心易碎 提交于 2019-12-24 06:48:11

问题


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?


回答1:


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;
}

For black text/white bg:

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

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



来源:https://stackoverflow.com/questions/39573965/apple-pay-on-blueprint-themes

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!