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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

You 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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can hide open menu entry title by adding below css code in custom css section.

.openmenu > h1{ display:none }

本文标签: cssHide duplicate entry title