[Support request] 2 question about opacity & site title

Home Forums Support [Support request] 2 question about opacity & site title

Home Forums Support 2 question about opacity & site title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1604790
    Thamira

    Hi,

    01. I need to reduce the opacity in the single page element background picture.

    https://ibb.co/VjLZFjQ

    02. How to remove the site title from the blog posts?

    https://ibb.co/JtHMf1J

    Thanks

    #1604857
    David
    Staff
    Customer Support

    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.

    #1605908
    Thamira

    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.

    #1606062
    David
    Staff
    Customer Support

    Aah ok – are you using an SEO plugin ? As they provide options to edit the Title Meta

    #1606110
    Thamira

    No, actually I’m not using any plugins.

    This is the default settings.

    Is there any option to do it without a plugin?

    #1606333
    David
    Staff
    Customer Support

    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 );
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.