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:
- Log into your WordPress site and access the Dashboard as the admin user.
- From the Dashboard menu, click on Appearance Menu > Customize.
- Navigate down to Additional CSS in the left sidebar that appears.
标签:Additional,auto,into,site,Storefront,购物车,Wordpress,your,CSS 来源: https://www.cnblogs.com/jilili/p/14502702.html