Home › Forums › Calendar Products › Events Calendar PRO › Disable preloader
- This topic has 9 replies, 5 voices, and was last updated 7 years, 5 months ago by Agnes.
-
AuthorPosts
-
October 4, 2016 at 1:53 pm #1172462AgnesParticipant
Hello! I’d like to use my own custom preloader, how do I disable yours?
Thanks!
October 5, 2016 at 6:32 am #1172665NicoMemberHi there Agnes,
Thanks for getting in touch with us!
I guess the simplest way would be to do this via CSS (here’s the loader mark-up: https://cloudup.com/c6MWuKi9mMl). Just hide the image inside of it and add a background image to the element. You can also just hide the loader if you prefer to ‘disable’ it instead of changing the graphic.
Please let me know if this helps you out,
Best,
NicoOctober 25, 2016 at 7:20 am #1182415Dan FeeleyParticipantAgnes,
I stumbled across this post this past weekend while looking to do the same thing. Were you able to get your custom preloader to work?
I tried to apply every CSS change I could think of and the most I could do was hide the existing image (although the white lightbox effect was still active). Any other information/tips would be greatly appreciated.
Thanks.
October 25, 2016 at 9:02 am #1182497NicoMemberHey Dan,
Thanks for chiming in! Can you please send a link to your website where I can see this? Also, what specifically are you trying to do?
Best,
NicoOctober 25, 2016 at 10:47 am #1182687Dan FeeleyParticipantHello Nico,
Here’s a new Test Site that’s setup with a custom (animated gif) preloader. Ideally I’d love to get Events Calendar to use the custom preloader instead of the default.
October 28, 2016 at 7:53 am #1184398NicoMemberHey Dan / Agnes,
Sorry for the delay in my reply! Let’s see how to do this!
First of all this is the markup of the pre-loader:
And this CSS will force the image form your site Dan:
.tribe-events-ajax-loading.tribe-events-active-spinner img{
display:none;
}.tribe-events-ajax-loading.tribe-events-active-spinner {
background-color: transparent;
background-image: url('http://wildcat.mystudioengine.site/wp-content/uploads/preloader.gif');
background-position: 275px 230px;
height: 50px;
width: 150px;
}
Paste the code into your custom stylesheet or via Simple Custom CSS plugin. This might need a few adjustments but it’s a solid starting point 🙂
Best,
NicoOctober 30, 2016 at 3:09 am #1185009Dan FeeleyParticipantThank you Nico. You definitely did all the heavy lifting.
It appears to be working perfectly.Thanks again.
October 31, 2016 at 8:38 am #1185241NicoMemberStocked to hear Dan! You are welcome 🙂
@Agnes, this solution should work for you as well. Can you please try it out and confirm if it works for you too?
Best,
NicoNovember 22, 2016 at 8:35 am #1195838Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Disable preloader’ is closed to new replies.