![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/dd8a7951ddc458f9e92259a96cabdf4d-87a1c39.jpg)
Hey
How do I ONLY hide the page titles and not the post titles?
I tried to hide it with CSS:
.uk-article-title {
display: none;
}
But it hid page and post titles. Then there was also a code snippet for hiding post and page. I have not yet found the code snippet to only hide page titles.
Aha! This CSS code works for just hiding page titles:
.page .uk-article-title {
display: none;
}
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/ab6dc08a67065e0025b27dbcd480e95d-87a1c39.jpg)
Hi Paal, my solution below. You must create a page.php file. Enter this code inside it.
<?php
// Remove the page title.
beans_remove_action( 'beans_post_title' );
// Load Beans document.
beans_load_document();
?>
and place this file ( page.php ) in Your child theme.
You can read some basic rules of hierarchy of wordpress templates, to know better how to work with templates files, here.
Fabio
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/dd8a7951ddc458f9e92259a96cabdf4d-87a1c39.jpg)
Hi Fabio
The easiest solution I have found up to now is using CSS:
I found a CSS option:
.page .uk-article-title {
display: none;
}
I happen to also post in another thread: https://community.getbeans.io/discussion/remov-title-and-change-archive-h1/
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/ab6dc08a67065e0025b27dbcd480e95d-87a1c39.jpg)
Fantastic! Elegant solutions. Fabio
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
Hi guys, take a look at my answer here.
Have fun,