• During some SEO audits I’ve noticed that there’s no alt tag set for the main header image placed by Evolve.

    I’m guessing I can make a child theme and hack the header.php but is there a ‘nicer’ way I could solve this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am interested in this as well.

    Thread Starter Andrew Laws

    (@lawsie)

    Does anyone have any ideas on this? It’s starting to look like a bit of a deal breaker.

    I’m also having problems. The Bing’s SEO tool is telling me I’m missing the ALT tag for my header logo. I cant figure out how to add it to the header.php file.

    <div class='header-logo-container'>\>

    Not sure but maybe try to go to the media library and select the image of the logo and edit it there. You can add alt tag there.
    I think maybe that will work.

    Hi,

    You can either use a header.php in child theme to overwrite.
    Edit the header.php in your child theme and add the alt to your header image.
    But for every theme update, you need to compare and make sure your child theme copy of header.php is up to date with the original or risk having error.

    Or you can edit directly in the Theme’s header.php and do this for every theme update.

    Or contact the Theme Author and get him to update in next theme version.
    https://theme4press.com/contact/

    Thank you.

    Added alt in header.php. Instead of missing 2 alt tags. It says now only one. For some reason this theme generates 2 missing alt logo tags. If you add the alt tag to header.php. It still says one is missing. Might be because of the sticky header. I might try disabling it. See if that works. If it does. The theme maker will have to fix it.

    No help from theme4press. Unless your covered by support. You have to ask on WordPress.org

    Hi,

    Find in files
    templates/header_v1.php
    templates/header_v2.php
    sticky-header.php

    There is 4 occurrence.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Setting alt tag for header image’ is closed to new replies.