Title: Modify Hestia_Header
Last modified: September 3, 2019

---

# Modify Hestia_Header

 *  Resolved Anonymous User 17419542
 * (@anonymized-17419542)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/modify-hestia_header/)
 * Hello,
 * I want’t to add some HTML after the navbar logo. I googled and tried everything
   I found, but I am not able to modify the function which is located in inc/views/
   main/class-hestia.header.php
 * Here is the function I want to change in my child template:
 *     ```
       	/**
       	 * Do the navbar header.
       	 */
       	private function navbar_header() {
       		?>
       		<div class="navbar-header">
       			<div class="title-logo-wrapper">
       				<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>"
       						title="<?php bloginfo( 'name' ); ?>">
       					<?php echo $this->logo(); ?></a>
       			</div>
       			<?php
       			if ( $this->is_full_screen_menu() ) {
       				$this->navbar_sidebar();
       			}
       			?>
       			<?php $this->render_navbar_toggle(); ?>
       		</div>
       		<?php
       	}
       ```
   
 * I would appreciate the perfect hint 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Jarret](https://wordpress.org/support/users/jarretc/)
 * (@jarretc)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/modify-hestia_header/#post-11896637)
 * What are you looking to add? If you do something like
 *     ```
       <div class="title-logo-wrapper">
       				<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>"
       						title="<?php bloginfo( 'name' ); ?>">
       					<?php echo $this->logo(); ?></a>
       			</div>
       			<p>This is some HTML</p>
       ```
   
 * The `This is some HTML` text shows up right under the logo in the main navigation
 *  Thread Starter Anonymous User 17419542
 * (@anonymized-17419542)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/modify-hestia_header/#post-11901083)
 * Thanks for the answer.
 * The html itself is perfectly clear for me.
 * I think you got me wrong: In my child theme I wan’t to write a function, add 
   a filter or whatever to modify the mentioned HTML code. I want to inject `<p>
   This is some HTML</p>` from the child theme.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modify Hestia_Header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hestia/3.3.4/screenshot.png)
 * Hestia
 * [Support Threads](https://wordpress.org/support/theme/hestia/)
 * [Active Topics](https://wordpress.org/support/theme/hestia/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hestia/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hestia/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [Modify](https://wordpress.org/support/topic-tag/modify/)
 * [parent theme](https://wordpress.org/support/topic-tag/parent-theme/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 17419542
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/modify-hestia_header/#post-11901083)
 * Status: resolved