Support

Home Forums Event Espresso Premium Remove Author/tags/social media links and maps api

Remove Author/tags/social media links and maps api

Posted: October 25, 2020 at 10:25 pm

Viewing 13 reply threads


hands2care

October 25, 2020 at 10:25 pm

Hi,
I need your help in taking down some elements on the following page (and some others):
– remove the author, tags and social media links (not properly linked)
https://hands2care.ca/index.php/events/bls-provider-mississauga/

Also, for some reason, after linking my Google Maps API to EE, the map does not show up when published.

Awaiting your response,
Thanking you in advance.
-Fadi


Tony

  • Support Staff

October 26, 2020 at 8:21 am

Hi there,

Event Espresso doesn’t add the author or social media links into the single event page, it looks like those are being added by you theme (or possibly another plugin).

You can hide the social buttons for EE events using:

.espresso_events #share_on_socials {
    display: none;
}

The author info:

.espresso_events .about_auther {
    display: none;
}

Combine them together:

.espresso_events #share_on_socials,
.espresso_events .about_auther {
    display: none;
}

Add that in Appearance -> Customize -> Additional CSS.

Also, for some reason, after linking my Google Maps API to EE, the map does not show up when published.

In short, Google Maps is no longer ‘free’ and you need to have Billing enabled on your Google account.

If you go here: https://hands2care.ca/index.php/venues/

Then open up Chrome Dev Tools (or similar) you’ll see this error in the console:

Geocoding Service: You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started

You’ll need to follow the links an enable billing on your Google account for Google Maps to function.


hands2care

October 26, 2020 at 2:36 pm

Okay. I will resolve the API problem on my end.

I tried pasting the CSS code into the additional CSS section and nothing happened! What am I doing wrong; should I remove the dots before the code and delete the extra spaces or should I paste it as is?!


hands2care

October 26, 2020 at 2:37 pm

And what about the tags?


Tony

  • Support Staff

October 27, 2020 at 4:44 am

I tried pasting the CSS code into the additional CSS section and nothing happened! What am I doing wrong; should I remove the dots before the code and delete the extra spaces or should I paste it as is?!

You would use it as is, the dots, hashes and spaces are all important as they mean different things.

Looking on your event page I can see the code is working:

https://monosnap.com/file/t2QEakkWY7aU9zhLLrBWIEIAxtbrG0

And what about the tags?

I can’t see any tags on the page, have you already removed those?


hands2care

October 27, 2020 at 5:38 am

I apologize, it was a totally different question (my bad). How can I remove the tags (and possibly the account username) on the event page and event category (https://hands2care.ca/index.php/bls-registration/)?

Also within the event page, there are 2 buttons (previous post and next), how can I remove them as well?

In regards to the API – do you have an estimate on how much is it after the trial period?


Tony

  • Support Staff

October 27, 2020 at 5:56 am

I apologize, it was a totally different question (my bad). How can I remove the tags (and possibly the account username) on the event page and event category (https://hands2care.ca/index.php/bls-registration/)?

What are you referring to as tags here?

Can you add a screenshot that shows what you want to remove?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

Also within the event page, there are 2 buttons (previous post and next), how can I remove them as well?

You can use:

.espresso_events .post_next_prev_con {
    display: none;
}

In regards to the API – do you have an estimate on how much is it after the trial period?

It is totally dependant on traffic so any guess I could give may well be totally incorrect.


hands2care

October 27, 2020 at 7:29 am

https://hands2care.ca/wp-content/uploads/2020/10/Screen-Shot-2020-10-27-at-9.22.22-AM.png
Outlined in red are the components that I want to be removed.


Tony

  • Support Staff

October 28, 2020 at 4:48 am

Oh, ok, that’s the single event page but you linked me to the event list above.

For the above you can use:

.espresso_events .post_title_con .meta,
.espresso_events .small_title,
.espresso_events .tags_con {
    display: none;
}


hands2care

October 28, 2020 at 6:26 am

This is great. Thank you very much.
Can you also provide me with the CSS to remove the username and date on the category page?
https://hands2care.ca/index.php/event-category/bls/


hands2care

October 28, 2020 at 6:40 am

Also, is there a way to remove “Event Category:” from the title? The title of this page is supposed to be BLS Registration


Tony

  • Support Staff

October 28, 2020 at 7:04 am

Hmm, that ones a little more generic and would need this:

.espresso_events .meta {
    display: none;
}

That may target other sections so check everything you want to be displayed still does after you’ve added the above, there isn’t a more specific class added by your theme to use there.


hands2care

October 28, 2020 at 7:58 am

This reply has been marked as private.


Tony

  • Support Staff

October 28, 2020 at 8:20 am

.espresso_events .meta is a ‘broad’ selector, it will select any element with the class meta within an element with the class espresso_events, meaning it may well select (and hide) other elements that you don’t want to hide if they also have the class meta.

The class names come from your theme and not Event Espresso so it’s not something we have control over.

If the above hasn’t hidden anything important to you then its not something to worry about for now.

Viewing 13 reply threads

The support post ‘Remove Author/tags/social media links and maps api’ 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