css - Add to Cart button woocommerce background and with doesn't display correctly

I have a problem with Add to Basket background and width display on mobile phone. I do not know why it has been like tha

I have a problem with Add to Basket background and width display on mobile phone. I do not know why it has been like that.

Can you guys checkout my website and let me know how I can fix "ADD TO BASKET" button, which is displaying not correctly ( the background of the left is white). Thanks and look forward to hearing ideas from you guys.

Thanks

I have a problem with Add to Basket background and width display on mobile phone. I do not know why it has been like that.

Can you guys checkout my website https://www.theturkishshop and let me know how I can fix "ADD TO BASKET" button, which is displaying not correctly ( the background of the left is white). Thanks and look forward to hearing ideas from you guys.

Thanks

Share Improve this question asked Apr 24, 2017 at 11:22 user3051274user3051274 135 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

You have to add background-image: none !important; to your buttons CSS.

Complete CSS-Rule:

@media screen and (max-width: 767px) {
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        background-image: none !important;
    }
}

Hello You needs to add following css:

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background-color: #CAA300 !important;
    background-position: 7% center !important;
    width: 77%;
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744964720a4603606.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信