Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to adapt a popup function to icon areas? Reply To: How to adapt a popup function to icon areas?

#158226
Paulie_D
Member

As I said, I have it partially working on the Flickr icon here, but something is interfering with the popup box showing its true size and the text.

You have this:

ul.socialicons {
font-size: 0;
}

and this:

ul.socialicons li a {
text-indent: -999em;
}

both of which will make the text in the ‘span’ disappear from view.

I would suggest that you use one or the other and then re-set them for the span.

My Codepen has been updated using the font-size:0 option.