Double headers on site how can i fix this

All of the sudden when I go to my site there are two headers. It wasn’t like that yesterday it just happened all the sudden, and I can’t figure out how to fix it.

Hi there,

Please post your site link so tat we can check.

Best regards.

Hello @Inazarab,

Thanks for sharing website URL. :slight_smile:

To fix double header/logo please setup child theme and copy _brand.php from wp-content/themes/x/framework/legacy/cranium/headers/views/global/ to wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/. Open the file and delete following code <?php echo '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?>.

I am also sharing few resources that you can use to download and setup child theme.

https://theme.co/apex/child-themes

Let us know how it goes.

Thanks.

I set up the child theme but i have no idea how to delete and copy the other stuff

Hello There,

Once you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file

<?php

// =============================================================================
// VIEWS/GLOBAL/_BRAND.PHP
// -----------------------------------------------------------------------------
// Outputs the brand.
// =============================================================================

$site_name        = get_bloginfo( 'name' );
$site_description = get_bloginfo( 'description' );
$logo             = x_make_protocol_relative( x_get_option( 'x_logo' ) );
$site_logo        = '<img src="' . $logo . '" alt="' . $site_description . '">';

?>

<?php ///echo '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?>

<a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>">
  <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?>
</a>

3] Save the file named as _brand.php
4] Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/

Hope this helps.

That is helpful I was able to do step 1-3 but I don’t know how to do step 4 “Upload this file to your server in the child theme’s folder wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/”

I spoke to my host and te said they can’t find “wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/”

Hi There,

You have to create that directory.

Regards!

i dont know how to do that?

Hello There,

You will have to login to your ftp and create the folders. If you can’t please provide us the ftp login details and we can create it for you.

Thank you in advance.

I’d aprecit that. Can I send you the login without posting it here?

Hi there,

You can post it here in a Secure Note which is the key icon below your reply so that only the staff can access it.

Thank you.

Thanks i think i posted it right

Hi There,

I have tried to connect to your server, but I couldn’t (check secure note).

Could you please confirm?

Thanks!

I’m not sure. To get to it I go to cPanel file manager via Bluehost when I log in.

Hi there,

I couldn’t log in either. Please check and post the correct credentials.

Thanks.

it’s definitely the right login info I’m not sure why its not working for you

Hello There,

Please double check it and repost the credentials again.

Meanwhile, if you can login to your ftp, please browse to the plugins folder;
wp-content/plugins/ and delete the revslider folder. After deletion, please re install the plugin again.

Hope this helps. Kindly let us know.

I cant find revslider folder. i updated the username that might work