[Support request] Full Screen Category Description

Home Forums Support [Support request] Full Screen Category Description

Home Forums Support Full Screen Category Description

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2333780
    Rohith

    Hi there, we are looking for full screen category description (Check PVT). No sidebar should be there in the description area only. The sidebar should be present in the list posts. Please help me with this.

    #2333832
    David
    Staff
    Customer Support

    Hi there,

    you can use a Block element – page hero:

    https://docs.generatepress.com/article/block-element-page-hero/

    You can display the Title with the GB Headline block and dynamic data.
    And you can display the description using the GP Dynamic Content Block.

    #2334130
    Rohith

    Is that possible with code?

    #2334303
    Fernando
    Customer Support

    Hi Rohith,

    Can you provide the link to the site in question?

    #2334664
    Rohith

    Here’s it

    #2334744
    David
    Staff
    Customer Support

    Try adding this PHP Snippet:

    add_action('wp', function(){
        if ( is_category() ) {
            remove_action( 'generate_archive_title', 'generate_archive_title' );
            add_action( 'generate_inside_container', 'generate_archive_title' );
        }
    });

    It may require some CSS to position it afterwards – let me know.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.