admin管理员组文章数量:1022804
I am using Divi, which introduces the Post / Page title as "h1.entry-title." And, I'm also using Open Menu plugin, which also introduces their custom post type Page title as "h1.entry-title."
So, I want to hide the Open Menu h1.entry-title only, because I don't need duplicate titles.
I'm trying to target the specific Open Menu entry-title by adding he div ID in the CSS rule, but it's still hiding both and not one over the other.
Should I just add a filter to the child theme in functions.php to filter it out? I'm not a dev, so I don't write PHP. Not sure what to write to filter that out.
I am using Divi, which introduces the Post / Page title as "h1.entry-title." And, I'm also using Open Menu plugin, which also introduces their custom post type Page title as "h1.entry-title."
So, I want to hide the Open Menu h1.entry-title only, because I don't need duplicate titles.
I'm trying to target the specific Open Menu entry-title by adding he div ID in the CSS rule, but it's still hiding both and not one over the other.
Should I just add a filter to the child theme in functions.php to filter it out? I'm not a dev, so I don't write PHP. Not sure what to write to filter that out.
Share Improve this question edited Apr 23, 2019 at 6:09 norman.lol 3,2413 gold badges30 silver badges35 bronze badges asked Apr 23, 2019 at 2:32 Tony ZeoliTony Zeoli 1602 silver badges12 bronze badges1 Answer
Reset to default 0You can hide open menu entry title by adding below css code in custom css section.
.openmenu > h1{ display:none }
I am using Divi, which introduces the Post / Page title as "h1.entry-title." And, I'm also using Open Menu plugin, which also introduces their custom post type Page title as "h1.entry-title."
So, I want to hide the Open Menu h1.entry-title only, because I don't need duplicate titles.
I'm trying to target the specific Open Menu entry-title by adding he div ID in the CSS rule, but it's still hiding both and not one over the other.
Should I just add a filter to the child theme in functions.php to filter it out? I'm not a dev, so I don't write PHP. Not sure what to write to filter that out.
I am using Divi, which introduces the Post / Page title as "h1.entry-title." And, I'm also using Open Menu plugin, which also introduces their custom post type Page title as "h1.entry-title."
So, I want to hide the Open Menu h1.entry-title only, because I don't need duplicate titles.
I'm trying to target the specific Open Menu entry-title by adding he div ID in the CSS rule, but it's still hiding both and not one over the other.
Should I just add a filter to the child theme in functions.php to filter it out? I'm not a dev, so I don't write PHP. Not sure what to write to filter that out.
Share Improve this question edited Apr 23, 2019 at 6:09 norman.lol 3,2413 gold badges30 silver badges35 bronze badges asked Apr 23, 2019 at 2:32 Tony ZeoliTony Zeoli 1602 silver badges12 bronze badges1 Answer
Reset to default 0You can hide open menu entry title by adding below css code in custom css section.
.openmenu > h1{ display:none }
本文标签: cssHide duplicate entry title
版权声明:本文标题:css - Hide duplicate entry title 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745564150a2156346.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论