• In most photos, the Title or Alt Text pops up when the mouse is hovered over the photo. This does not happen with the photos that cycle as header graphics.

    Is there any way to get this text to show up as popups?

    Lane

Viewing 6 replies - 1 through 6 (of 6 total)
  • You would need to start by creating a child theme and then creating a modified header.php template file in your new child theme.

    Thread Starter Lane Lester

    (@llester)

    Thanks, esmi. I already have a child theme for other changes I’ve made. Looking at header.php, it seems this is the line that displays the header graphics:
    <img src="<?php header_image(); ?>" width="<?php echo $header_image_width; ?>" height="<?php echo $header_image_height; ?>" alt="" />

    But I confess I still don’t know how to accomplish my goal.

    Lane

    What text were you hoping to show as the title/alt text bearing in mind that the latter is intended to be used when the image isn’t available or viewable?

    I have a set of scenery photos, and I would like to display the names of the locations.

    Lane

    This would be possible if you’re using the featured image functionality to create a custom header image per page but not if you’re just uploading images via Appearance -> Header.

    Thread Starter Lane Lester

    (@llester)

    OK, thanks. I think I’ll throw in the towel on that one. If it becomes essential to have a label, I’ll just edit the graphic to have the label.

    Lane

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Twenty Eleven] Any Way to Get Titles to Show in Header Pix?’ is closed to new replies.