Support

Home Forums Event Espresso Premium Remove images from calendar tooltip

Remove images from calendar tooltip

Posted: April 30, 2013 at 7:49 am

Viewing 5 reply threads


ewentworth

April 30, 2013 at 7:49 am

We use images within the description for our events, but would rather they not appear in the calendar tooltip because they eat up too much space.  What would be the best way to strip the images out of the tooltip description while preserving it in the event description?  Thanks!


Josh

  • Support Staff

April 30, 2013 at 11:01 am

Hi there,

I think it would depend on how the images are placed to determine the best way to do this. One way that can be done without any coding is add the more tag just before the image in the event description. The calendar tooltip will not display anything past the more tag.

It will look like this:

Description content

<!--more-->

image


ewentworth

April 30, 2013 at 11:21 am

Hmmm, I did think of the more tag, but the images are generally at the top of the description so it doesn’t quite work.  Any other options?  If the coding would be too disruptive I suppose the images can be shifted down, but if it’s a simple fix that would be great.  Thanks!


Dean

May 1, 2013 at 5:42 am

.ui-tooltip-content img {
	display:none;
}

Should do it, add to the themes style.css or via a plugin like My Custom CSS


ewentworth

May 1, 2013 at 6:25 am

Beautiful – that works great.  Thanks much Dean!


Dean

May 1, 2013 at 6:41 am

No Problem!

Viewing 5 reply threads

The support post ‘Remove images from calendar tooltip’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso