Support

Home Forums Event Espresso Premium Decrease the space in Upcoming Event Widget

Decrease the space in Upcoming Event Widget

Posted: January 20, 2016 at 10:02 am


Steve

January 20, 2016 at 10:02 am

I’m trying to edit the upcoming event widget, trying to tighten it up. I have used bot my theme and my custom css to try and make the change, does not work. I then hard coded the change in both the actual place the default css lives and in the uploads/templates for EE. I can see in Firebug it can see the code, but it ignores it (strikethrough). I then notice in my code for the page, it seems to get imported directly into the page, and not linked. So not sure whats going on.

.ee-upcoming-events-widget-title-h5 {
margin: 3em 0 0;
font-size: 1.1em;
}

Also, is there any way to disable the link to the main Event page for this widget? I like the widget, but with only 1 event, seems silly to have that link to a page with the same event.

This is the website: http://novaconsultinggrp.com/

Thanks


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 10:35 am

Hi Steve,

Could you describe what you are trying to do with the widget?

Your styles are being applied to the widget:

http://cl.ly/0B2N2G2i3C2c


Lorenzo


Steve

January 20, 2016 at 1:52 pm

I am trying to decrease that space, much like your animation link. As you can see in my screen shot, it has my adjusted CSS and it is crossed out and the CSS really seems to be in the page code, not in the external CSS file not matter where I try and change it. Now if I use Firebug to adjust it, it does work. Removing the link in the widget title would be great too.

css issue


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 4:28 pm

Hi Steve,

The extra spacing appears to be coming from your new styling:

http://cl.ly/3I3L433l180C

Could you go ahead and remove this line in your new CSS or reduce 3em to a small value like .5em?

margin: 3em 0 0;

Below is the default value so your new styling is overriding and making the spacing larger:

margin: 1em 0 0;


Lorenzo


Steve

January 20, 2016 at 8:09 pm

OMG! I did not even see I already had that in there, I’m so sorry to bug you. Made the edit and works like it was supposed to. Thanks for your help.


Tony

  • Support Staff

January 21, 2016 at 4:05 am

Hi Steve,

I’m its working as expected, I’ll mark this thread resolved.

If you do run into any further problems please feel free to open up a new thread 🙂

The support post ‘Decrease the space in Upcoming Event Widget’ 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