My pages are showing 2 h1 headers

Hello, I have tried to figure out where the 2 h1 headers are coming but to no avail. I used just 1 h1 header but from the analysis I conducted, 2 h1 headers are showing. Please how do I go about this?
Here is my websites’s URL: https://burnsomefats.com/
Thanks

Hi there,

I see that there are 2 <h1> tags:

The first one seems to be auto generated and the second one is the one you added. This might be related to a 3rd party plugin or something.

Test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Thank you.

Thanks so much Christopher. Please what are the steps you took to view the header classes. I checked the page source but couldn’t find it. Knowing this will help me figure out which plugin is causing this.
Thanks

Hi Chris, I just deleted the “website title” from the wordpress general settings. I am perceiving that it’s the cause of this double h1 tags. Please check if it’s still showing 2 h1 tags.
I’ll like to know how you check for this h1 tags also.
Thanks

Hi there,

Unfortunately, there are still 2 h1 tags in the website. I suggest that you install the Child Theme and copy the file below:

wp-content/themes/x/framework/legacy/cranium/headers/views/global/_brand.php

to:

wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/_brand.php

You will need to create necessary folders in the Child Theme. Then in the newly copied file change the code to:

<?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 . '">';

?>



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

Thank you.

I have the child theme installed and activated already, but going through the process you listed above is kind of difficult for me. I’d be glad if I can get simplified procedures on how to execute this process.
Thanks

Hi there,

If you give us the proper FTP credentials we will be happy to do it for you:

FTP Server Address
FTP Port Number
FTP USername
FTP Password

You can contact your hosting service provider and ask them to provide you with the information above. Don’t forget to give the information using the Secure Note functionality of the post.

Thank you.

Okay. Will contact them asap
Thanks for your effort

I have sent the details already.
Thanks

Hi There,

The FTP account is showing the blank files on my end:

Could you please provide us with your root account instead?

Many thanks.

Okay. I am sending it now.

Sent. Thanks

Hi @dafowens,

The credentials you sent is not working.

Please recheck.

Thanks

Hi, I think I need to understand what you meant by “root account”. The details I sent to you was for my stablehost account. You can login with the details.
Thanks

Hello There,

I am another staff checking in this thread. The given ftp details is correct. The only problem is that it is not displaying the theme files or any files on it. Please check out the screenshot in @Thai’s reply. Please double the given ftp details and make sure that it points to the correct folder or account. We need to access the root folder or directory which may only possible if the given ftp details has access to the root account.

Hope this explains well.

Please I’m getting confused already about this whole thing. @Thai asked me to give my root account. If the root account is my host account, then I have dropped it already.

Hi there,

The FTP was correct but just pointing to empty folders (configured it incorrectly). But thanks for providing your host login, I’m able to use its file manager instead of FTP.

The changes are now implemented.

Thanks!

Thanks so much @Rad

Glad to hear we managed to help!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.