• Hi,

    I need to hide the image description (alt=”…”). It should only be visible in the attachment site. You know what I mean?
    Does anyone know how to realize that? Would be nice 🙂
    I am using voyage theme, but I think that doesnt matter.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • You know what I mean?

    No. The alt attribute is meant for visitors who cannot see your images. Therefore it needs to be available on all images wherever they are. If the alt attribute is being shown as a tooltip in your browser, that’s a browser issue (usually specific to IE).

    Thread Starter bachey

    (@bachey)

    Oh, I was wrong there, it’s not the alt attribute. Thank you.
    Anyway, there’s an image description which is shown under the images. I want to hide it on normal pages, but not delete it because I wanna see it on attachment sites, galleries, …
    I hope it’s clear now what i’m searching for.

    Start by ensuring that you do not have a Caption field completed for an image before you insert it but that you have completed the Description field.

    Thread Starter bachey

    (@bachey)

    You helped be accidental by talking about “caption”.
    I needed to add

    .gallery .gallery-caption {
    	display:none;
    }

    I was looking for “alt” all the time.

    Thank you 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘hide image description’ is closed to new replies.