【问题标题】:CSS: Display none specific css class [closed]CSS:不显示特定的 CSS 类 [关闭]
【发布时间】:2017-12-25 19:02:33
【问题描述】:

谁能告诉我,我怎样才能用 css 删除网站标题“The Shop”和下面的图标?

网址:https://windows-lizenz.ch/produkt/windows-10-professional/

感谢和最好的问候

【问题讨论】:

    标签: css wordpress display


    【解决方案1】:

    很简单:

    .h-landmark,
    .entry-top-navigation > a.entry-parent { display: none; }
    

    【讨论】:

    • 您好,感谢您的快速答复。有效!但我也喜欢删除标题产品标题“THE SHOP”后面的灰色条。我尝试使用以下代码: .x-header-landmark.x-container.max.width { display: none; } 你能告诉我有什么问题吗?
    • 您无需提供所有类即可使用 CSS 规则。要隐藏灰色条,只需添加: .x-header-landmark { display: none; }
    • 你是对的!感谢您的支持! (:
    猜你喜欢
    • 2013-09-22
    • 2022-01-06
    • 2014-01-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-15
    • 2013-01-21
    • 1970-01-01
    相关资源
    最近更新 更多