Site logo

Archived topic

2 question about opacity & site title

5 replies · Started by Thamira on January 4, 2021

Viewing posts 1–6 of 6

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.

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 );
This archived topic is closed to new replies.