我需要在woo Commerce产品页面中的产品描述后删除空格

时间:2018-08-29 09:26:52

标签: wordpress woocommerce

在产品页面上的产品描述后,我还有很大的空间,我需要摆脱它,但我无法弄清楚!查看链接

http://healthgasm.com/product/level-1-kick-start-to-healthgasm/

2 个答案:

答案 0 :(得分:0)

我猜您想隐藏产品说明下方的“相关产品”部分。 您应该添加一些CSS

section.related.products {
  display: none;
}

或者至少这是我使用chrome Dev Tools所做的。使用它,它非常强大。

答案 1 :(得分:0)

您可以使用挂钩在单个产品页面上删除相关产品。

$ time ( printf '#include<errno.h>\n#include<stdlib.h>\n#include<stdio.h>\nint main(){char*b=0;size_t n=0;ssize_t r;while((r=getline(&b,&n,stdin))>0);if(errno)abort();return 0;}\n' | gcc -Ofast -Wall -xc -o/tmp/a.out -; /tmp/a.out </tmp/1; )
real    0m0.095s
user    0m0.064s
sys 0m0.031s
$ time ( cat >/dev/null; ) </tmp/1
real    0m0.007s
user    0m0.001s
sys 0m0.006s
$ time ( while read l; do :; done </tmp/1; )
real    0m6.994s
user    0m5.222s
sys 0m1.731s
$ time ( exec 3</tmp/1; while read -u3 l; do :; done; )
real    0m7.953s
user    0m5.965s
sys 0m1.949s
$ time xargs -a /tmp/1 -n1 true
< very, very slow, got impatient and CTRL+C it >

reference