Archived topic
2 question about opacity & site title
5 replies · Started by Thamira on January 4, 2021
Hi,
01. I need to reduce the opacity in the single page element background picture.
02. How to remove the site title from the blog posts?
Thanks
Hi there,
1. Go to Appearance > Elements and edit the post header element:
https://docs.generatepress.com/article/header-element-overview/
In the settings you can adjust the transparency of the Background color.
2. Can you share a link to your blog page where you want the titles removed so i can check the layout.
Thanks for the reply.
Here's the URL
https://accountingintro.com/expense-recognition/
In Google search, I don't need the site title to come after the post title.
Aah ok - are you using an SEO plugin ? As they provide options to edit the Title Meta
No, actually I'm not using any plugins.
This is the default settings.
Is there any option to do it without a plugin?
You can use this PHP Snippet to remove the site name from the title tag on your single posts:
add_filter( 'document_title_parts', function( $title ) {
if ( is_single() )
unset( $title['site'] ); /** Remove site name */
return $title;
}, 10, 1 );