Support

Home Forums Event Espresso Premium Event List Page

Event List Page

Posted: August 15, 2012 at 3:36 pm


Candi Stroh

August 15, 2012 at 3:36 pm

I have too much spacing in this page. I have looked through the Forums and can’t find anything to solve my problem. I don’t know how to change the code in the events_list_display.php because its causing spacing issues.


Chris Reynolds

  • Support Staff

August 15, 2012 at 3:53 pm

That’s most likely coming from your theme and how it renders divs/paragraph tags/etc. Can you post a link to your event list page so I can see what’s actually going on?


Candi Stroh

August 16, 2012 at 10:02 am

http://hbaa.org/wp/events
My Events List page.


Josh

  • Support Staff

August 16, 2012 at 12:06 pm

Display tweaks are usually best done with CSS. Try adding something like the following to the end of your custom stylesheet:

/*float event meta to the right */
.event-meta {
float: right;
width: 35%;
}

/*tighten things up*/
.event-meta p{
padding-bottom: 6px;
}

p.register-link-footer {
padding: 4px 0 0;
}

/*float link to left */
.register-link-footer {
float: left;
}

/*narrow the event title */
h3.event_title {
width: 55%;
float: left;
clear: both;
}

/*add a border */
.event-display-boxes {
border: 1px solid #d4d2d2;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
color: #303030;
padding: 16px 16px 8px;
margin: 5px;
}
/*self-clear the floats*/
.event-display-boxes:after {
visibility: hidden;
display: block;
content: "";
clear: both;
height: 0;
}
* html .event-display-boxes {
zoom: 1;
}
/* IE6 */
*:first-child+html .event-display-boxes {
zoom: 1;
}
/* IE7 */

Note that it’s best practice to create a child theme so you do not lose your changes if the WordPress theme gets an update.


Candi Stroh

August 16, 2012 at 1:02 pm

Yes thank you so very much, it looks awesome! YAAY!!!!

The support post ‘Event List Page’ 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