Home › Forums › Calendar Products › Events Calendar PRO › Quick Question: How do I eliminate '#tribe-bar-form' and Ajax loader GIF
- This topic has 2 replies, 2 voices, and was last updated 11 years, 1 month ago by
George.
-
AuthorPosts
-
November 19, 2014 at 3:04 pm #891162
pamaevents
ParticipantHey there:
I am customizing Events Calendar Pro such that visitors will only be able to see upcoming events in ‘list’ view. I can’t seem to figure out how the Tribe Bar Search/Sort element gets loaded or how to remove it. Setting #tribe-bar-form to ‘display: none;” doesn’t seem like a very sane option. Also, the Ajax loader just seems to churn and I can’t seem to get rid of that. There’s a chance I still might just restyle the bar and leave it but, if someone could conceptually explain what file generates that form and what I need to do to get rid of it or add classes to template file for CSS modification, I would greatly appreciate it…
November 20, 2014 at 3:21 pm #892753George
ParticipantHey @pamaevents,
What sort of customizations have you made already? I’m just curious because I visited your site’s events page, and the Events filter/search bar is indeed quite modified from the original design.
As far as where the tribe filter bar is generated, you can find it in /views/modules/bar.php in your Events plugin files – though I wouldn’t recommend modifying this file – or any core plugin file. CSS should work fine for hiding that filter bar, if that’s an acceptable solution for you. The following CSS works fine for me:
#tribe-events-bar { display: none; }Though you could also add !important if the above code alone isn’t enough:
#tribe-events-bar { display: none !important; }Let me know if this helps – if this CSS doesn’t work for you, I’d recommend first making sure you have a backup of all of your customizations, and that you’re definitively able to restore these customizations from your backup. Once you have a backup, then remove all your customizations so that the calendar on your site is just like it is “out of the box”. See if the CSS I recommended above works any differently with the default calendar without your customizations, and let us know what you find.
Thanks!
GeorgeMarch 21, 2015 at 12:41 pm #949935George
ParticipantHello,
This issue’s been sitting here a while so I’m going to go ahead and close it for now – if other issues arise, don’t hesitate to come back and open a new ticket, and if you need to open a new ticket about the same issues you originally brought up here, please share a link to this original ticket so we can pick up where we left off.
Cheers!
George -
AuthorPosts
- The topic ‘Quick Question: How do I eliminate '#tribe-bar-form' and Ajax loader GIF’ is closed to new replies.
