Support

Home Forums Event Espresso Premium Two Issues to Resolve

Two Issues to Resolve

Posted: November 17, 2015 at 4:23 am

Viewing 7 reply threads


Auric

November 17, 2015 at 4:23 am

Is there a way to remove the author-info div from all event pages only? I can hide author-info with display:none; but that takes it off every post.

The hover action for the events in the grid displays the event title/dates/register now, but for some reason there are <br> added to space it, so with long event names it doesn’t look good. Is there any way to remove the <br> from the hover text? Using CSS I can vertically center align and tweak the line-height to get it to look better.


Tony

  • Support Staff

November 17, 2015 at 5:01 am

Hi there,

Is there a way to remove the author-info div from all event pages only? I can hide author-info with display:none; but that takes it off every post.

Using CSS you should be able to target EE events specifically using the body class ‘single-espresso_events’

So something like:

.single-espresso_events .author-info {
display: none;
}

should work.

If you can link use to one of your event pages we should be able to provide the correct css selector to do this.

The hover action for the events in the grid displays the event title/dates/register now, but for some reason there are <br> added to space it, so with long event names it doesn’t look good. Is there any way to remove the <br> from the hover text? Using CSS I can vertically center align and tweak the line-height to get it to look better.

You could load a custom version of the template by copying the original to your sites theme (preferable a child theme) and removing the br tas from there.

However you can also remove the BR’s using CSS, can you link us to that page so we can see provide some example code please?


Auric

November 18, 2015 at 1:15 am

Hi Tony,

Here’s the page – http://corp.capechamber.auric-consulting.com/. I didn’t know you could remove <br>s with CSS – this’ll be a good lesson for me.

The CSS for removing the author on event pages works well, thanks.

Graham


Auric

November 18, 2015 at 1:20 am

Actually, as you said that <br>s could be removed using CSS, I Google it and found out how. Just telling it was possible with CSS was enough, I never considered it possible – thanks for the tip.

Is there any benefit to using CSS to remove the <br>s over creating a new template or vica versa? Using CSS is much simpler.

If you can answer the question above, great, otherwise these issues are resolved and you can close the call.


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 6:11 am

Hi Graham,

The CSS solution is quicker and can be dropped in your child theme’s stylsheet or through a free plugin like Reaktiv CSS Builder or Simple Custom CSS.


Lorenzo


Auric

November 18, 2015 at 7:37 am

That’s exactly what I have done.


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 7:40 am

Hi Graham, did you have any other styling questions for your site?

Thanks


Lorenzo


Auric

November 18, 2015 at 7:44 am

No, thanks – you can close this support call.

Viewing 7 reply threads

The support post ‘Two Issues to Resolve’ 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