Support

Home Forums Event Espresso Premium Tooltip runs off page (2)

Tooltip runs off page (2)

Posted: December 4, 2012 at 7:52 am

Viewing 1 reply thread


HooplaWD

December 4, 2012 at 7:52 am

Hello, I’m running into an issue like a previous post where the tooltip extends beyond the right side of the page. Where and what “exactly” in the espresso-calendar.php would I need to adjust?

Below is the excerpt from my espresso-calendar.php:

//Load tooltips styles
    if (isset($espresso_calendar['show_tooltips']) && $espresso_calendar['show_tooltips'] == true) {
        wp_register_style('qtip', ESPRESSO_CALENDAR_PLUGINFULLURL . 'css/jquery.qtip.css'); //calendar core style
        wp_enqueue_style('qtip');
    }
}

}

My Calendar example:

http://hooplawdsites.com/clients/paint8pm/calendar/

Hope you can help this new customer.
Thank you in advance,
Leesa Schuler

  • This topic was modified 4 years, 9 months ago by Garth.


Josh

  • Support Staff

December 5, 2012 at 3:11 pm

Hi Leesa,

You can adjust this by modifying a few lines in the calendar add-on’s espresso-calendar.php file. The location of the code that handles the position of the tooltip starts on line 616 of the current version of the calendar (2.0.4). It ends on line 626.

The following code example will move the tooltip below and center the event:

position: {

    my: 'top center',

        at: 'bottom center',

         },

style: {

    tip: {

    corner: 'top center',

    },
Viewing 1 reply thread

The support post ‘Tooltip runs off page (2)’ 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