WordPress.org

Ready to get started?Download WordPress

Forums

Events Calendar
Hover Box too Big? (2 posts)

  1. FilmAndOtherThings
    Member
    Posted 3 years ago #

    I have the Events Calendar on my site, and my events show up, but when I hover over them the box that pops out is way too big.

    How do I change this?

  2. Grimpond
    Member
    Posted 3 years ago #

    FaOT,

    The width of the "tooltips" box is set by the length of the description of the event. I am not sure why it is done this way, but this is how to "fix" it.

    In the file ec-tooltips.css in the /css/ subdirectory look for the code.

    /* Depending on the description length, one of
     * these class will be used
     */
    .EC-tt-25 {
    	top: 0;
    	width: 25% !important;
    }
    .EC-tt-50 {
    	top: 0;
    	width: 50% !important;
    }
    .EC-tt-75 {
    	top: 0;
    	width: 75% !important;
    }
    .EC-tt-100 {
    	top: 0;
    	width: 100% !important;
    }

    If you change all the % parameters to 25% the pop-up box stays small.

    eg;

    .EC-tt-100 {
    	top: 0;
    	width: 25% !important;

    Double check that it works on for your site/template after the change.

    D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic