Support

Home Forums Event Espresso Premium Calendar hover pop up to large

Calendar hover pop up to large

Posted: June 3, 2019 at 11:14 am

Viewing 11 reply threads


gmkws

June 3, 2019 at 11:14 am

When hovering over an event on the Calendar , the popup is to large, gores of screen user has to scroll up and down to read all details. where can an adjustment be made for this issue?


Josh

  • Support Staff

June 3, 2019 at 12:54 pm

Hi,

Can you post a link to the calendar page of your site so we can take a look?

Thank you.


gmkws

June 3, 2019 at 1:30 pm

http://corkandboardstudios-dev.com/

Client would also like to edit some of the native text, is this a core file


Josh

  • Support Staff

June 3, 2019 at 2:19 pm

Hi,

You can add/modify the following CSS to make those headings smaller, which will make the tooltips a more reasonable site:

.qtip-content h3,
.qtip-content h4 {
font-size: 14px;
 margin-top: .75rem;
 margin-bottom: .75rem;
 padding: 0;
}

If you’re not sure where to add CSS, the Appearance > Customize > Additional CSS page in the WordPress dashboard is an excellent place.

Any of the text can be changed by using a translation function, and you’ll find a code example here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function


gmkws

June 3, 2019 at 2:26 pm

just an FYI, i haven’t tried this yest for changing the text.
Here is the message.

“This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.”


Josh

  • Support Staff

June 3, 2019 at 2:32 pm

I recommend using the custom function outlined at the end of the wiki. The plugin that you’re referring to is probably overkill, and as you’ve noted, isn’t maintained often.


gmkws

June 3, 2019 at 2:42 pm

We are new to EE, where is the functions.php located


Josh

  • Support Staff

June 3, 2019 at 3:07 pm

Functions.php is located in your WordPress theme, but you probably shouldn’t add the code there. You can follow this guide instead:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then you’ll add the code to your plugin.


gmkws

June 3, 2019 at 3:23 pm

I realized what you were referring to, but i am new to this, they would like to change “Registrations / Spaces: 0 / 20″ to”Seats Reserved and Seats Available”
on the calendar popup, how would i do this in the functions.php? or is there an easier way?


Josh

  • Support Staff

June 3, 2019 at 3:39 pm

Ideally you’ll add the code to your plugin, and not into functions.php unless your site is going to use a child theme.

Then, you’ll copy that entire block of code from the tutorial into your plugin, then you’ll modify the code starting on line 9. The code from lines 9-12 are examples and you can remove them. You’ll replace with:

‘Registrations / Spaces: ‘ => ‘Seats Reserved and Seats Available ‘,


gmkws

June 3, 2019 at 4:10 pm

I am sorry I am an intern and was tasked with this, I want to be sure I understand. I download the (ee4-events-calendar cut and paste the code into the header part of the plugin, and change lines 9-12 to (‘Registrations / Spaces: ‘ => ‘Seats Reserved and Seats Available ‘,)

Thank you in advance for your help.


Josh

  • Support Staff

June 3, 2019 at 4:26 pm

The part about downloading the ee4-events-calendar isn’t correct. You already have that plugin installed, and you do not edit that plugin’s files.

Instead, you’ll make a new plugin from scratch.

This is the EE guide that shows how to make the new plugin from scratch:
https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

and it’s actually based on this other guide:
http://ottopress.com/2011/creating-a-site-specific-snippets-plugin/

You can follow either of the above guides, whichever one makes more sense to you.

Viewing 11 reply threads

The support post ‘Calendar hover pop up to large’ 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