By ayesh on
Can you please direct me to hide the node-title of teaser view in a raw style View ?
I have titled the view and I designed to show only the first result. I just want to hide the title of that post.
I used Exclude Node Title block but it didn't work for me.
I found some threads about hiding node title in a single page or view. But this is different. The view only has a Block display
Comments
what about using css?
This assumes the title is output as
<h2 class="page-title">My Title</h2>, you should check your theme to see how it is actually output asHi nirbhasa, thanks for the
Hi nirbhasa,
thanks for the instructions.
I moved to CSS information area in the view. But I see just a text field to enter a custom CSS class.
Can you please explain a bit about this ?
Do I have to add these lines to my theme's CSS and set the class in Views UI's text field ?
What's new and changing in PHP 8.4
No, you shouldnt need to set
No, you shouldnt need to set a class. Use firebug to see what HTML markup your node titles are using and sett your CSS class in the theme to target that
This helped a lot
Thanks!