首页 > 其他 > 详细

Wordpress 删除 Storefront 主题的购物车

时间:2021-03-08 22:54:10      阅读:58      评论:0      收藏:0      [点我收藏+]

检查元素定位到购物车,将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.

 

Wordpress 删除 Storefront 主题的购物车

原文:https://www.cnblogs.com/jilili/p/14502702.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!