Support » Theme: Spun » Remove alt text from circles on homepage

  • Resolved caramelr

    (@caramelr)


    Hello, i’ve been trying everything to remove the alt text which displays when you hover over the circles on the homepage. I’ve been trying things in the content-image.php and content-home.php, I feel like i’m close but just can’t quite work out the code.

    Using the firebug I see that these parts are referred to as ‘post-thumbnail’.

    Does anyone have any idea how to to remove this? Adding alt text in the ‘featured image’ for the post doesnt do anything either

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Caroline Moore

    (@sixhours)

    This is the title element applied to the link in content-home.php… it looks like this:

    title="<?php echo esc_attr( the_title_attribute( 'echo=0' ) ); ?>"

    caramelr

    (@caramelr)

    Thanks Caroline, I tried removing that but it still shows the alt text

    Theme Author Caroline Moore

    (@sixhours)

    Ahh, sorry, I forgot something. It’s also output on lines 16 and 31.

    Remove this part from those lines:

    , array( 'title' => esc_attr( get_the_title() ) )

    caramelr

    (@caramelr)

    Perfect! Thank you very much!!! 🙂

    Theme Author Caroline Moore

    (@sixhours)

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove alt text from circles on homepage’ is closed to new replies.