Posted: 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. |
Hi there,
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.
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? |
|
|
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 |
|
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. |
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. — |
|
|
That’s exactly what I have done. |
Hi Graham, did you have any other styling questions for your site? Thanks — |
|
|
No, thanks – you can close this support call. |
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.