我正在这个网站上工作 http://josedelavega.nowcommu.myhostpoint.ch/
主页非常好,但是当我将内容添加到其他子页面时,这不起作用。看起来像隐藏的。代码有问题吗?我刚刚修改了模板 ( http://themeforest.net/item/orquidea-responsive-wordpress-theme/5120180 ) 添加了这个 CSS 规则:
.logo { float: right; margin-top: -8px !important; margin-right: 70px; }
nav#topmenu ul li { font-size: 15px; }
nav#mobilenav .logo { float: left; margin-right: 0px !important; }
.sectionboxtitle { display: none !important; }
.bodyfont { display: none !important; }
.descrtext { padding-top: 10px; }
.skinselector { display: none; }
最佳答案
这会隐藏子页面内容:
.sectionboxtitle {
display: none !important;
}
如果你只是想让它隐藏在起始页上,我推荐这样的东西:
.home .sectionboxtitle{ display: none;}
关于css - Wordpress:子页面的内容似乎被隐藏了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33994661/