其他分享
首页 > 其他分享> > Wordpress 删除 Storefront 主题的购物车

Wordpress 删除 Storefront 主题的购物车

作者:互联网

检查元素定位到购物车,将display属性改为none, 并将下列代码粘贴到 Additional CSS中。

 

.site-header-cart .cart-contents {
    padding: 1.618em 0;
    display: none;
    position: relative;
    background-color: rgba(0,0,0,0);
    height: auto;
    width: auto;
    text-indent: 0;
}

 

Adding the Rule

The remaining part is to copy/paste into the “Additional CSS” section of your Storefront theme customization interface. To do this:

 

标签:Additional,auto,into,site,Storefront,购物车,Wordpress,your,CSS
来源: https://www.cnblogs.com/jilili/p/14502702.html