Removing default listing fields from Wordpress Auction Theme

时间:2016-04-04 17:33:05

标签: php html css wordpress wordpress-theming

I have been working on removing default field named "Condition" from Wordpress Auction Theme (http://www.premiumpress.com/wordpress-auction-theme/) so I was looking in wordpress editor to find that specific div and delete him,so I haven't found it in any of that files because it's all written in php.

I 've done the css styling by hidding it in style.css file in wordpress editor.

<style>
#form-row-rapper-condition {
display:none;
}
#auctionbidbox tbody tr td:nth-child(3) {
display:none;
}
</style>

I managed to hide that element and it is not showing on desktop. But when I looked it on mobile it was still there.

Can someone help me to remove this field?

1 个答案:

答案 0 :(得分:0)

修正了将此样式粘贴到主题的个人编辑器的错误:

@media screen and (min-device-width : 0px){
 `#form-row-rapper-condition {
  display:none !important;
  }
  #auctionbidbox tbody tr td:nth-child(3) {
  display:none !important;
  }
}

仪表板 - 主题设置 - 自定义CSS导入。