Hi Darshil,
You can try adding this CSS:
.entry-summary p:not(.read-more-container) {
display: none;
}
Or if you want to completely remove the element from the page, you can try filtering it with this:
add_filter('generate_excerpt_more_output', function($output){
$output = sprintf(
' <a title="%1$s" class="read-more" href="%2$s" aria-label="%4$s">%3$s</a>',
the_title_attribute( 'echo=0' ),
esc_url( get_permalink( get_the_ID() ) ),
__( 'Read more', 'generatepress' ),
sprintf(
/* translators: Aria-label describing the read more button */
_x( 'More on %s', 'more on post title', 'generatepress' ),
the_title_attribute( 'echo=0' )
)
);
return $output;
10,1});