customization - Delete page titles

admin2025-06-02  0

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title bar altogether.

However, inserts that have been suggested on here like

.page_header {
display: none !important;
}

don't work at all when I input them into "Additional CSS". What am I doing wrong? Keep in mind, when you answer, that I'm a complete novice.

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title bar altogether.

However, inserts that have been suggested on here like

.page_header {
display: none !important;
}

don't work at all when I input them into "Additional CSS". What am I doing wrong? Keep in mind, when you answer, that I'm a complete novice.

Share Improve this question asked Feb 28, 2019 at 14:07 BasherAtKeysBasherAtKeys 11 bronze badge 2
  • More than likely there's an option in the customizer somewhere to hide the page title. Check with the theme developers if you have trouble finding it. – mrben522 Commented Feb 28, 2019 at 14:24
  • No, there isn't any way to do it with the regular tools. – BasherAtKeys Commented Feb 28, 2019 at 21:14
Add a comment  | 

2 Answers 2

Reset to default 0

Simply you can remove the title tag or you can comment also

<?php //the_title(); ?>

I figured it out manually: It turns out the code I was given didn't specify what part needed to be changed. In the theme I'm using, the title is in page-title-container rather than page_header and it worked just fine once I made that change. Thank you for your help!

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748853640a314268.html

最新回复(0)