How to disbale the Top Bar Latest News bar

Hi dontt want to show the top bar in my website in which latest news and search icon is there…how can i disable it…?

Hello there,

To hide it, you can do one of the below methods:

  • Add the below PHP snippet into your child theme’s functions.php file:

remove_action( 'greatmag_before_header', 'greatmag_top_bar' );

  • Add the below CSS snippet into your theme’s additional CSS (Appearance > Customize > Additional CSS):

.top-header{
  display: none;
}

Regards,
Kharis