How do I Add A New Loading - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How do I Add A New Loading

Ugur Uygur

Ugur Uygur

Helix Framework 3 years ago

Hi,

As I wrote in the title, how to add a new loading css or image.

There is a different build in the new version with this https://www.joomshaper.com/blog/how-to-add-custom-preloader-on-joomla-sites tutorial.

Helix 2.0.5 - Joomla 4

Thank you

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #46277

Hi there!

Thanks for contacting us.

Did you try the first way or the second way, please?

If you are trying to use the custom CSS part then actually the class name has changed a bit. So kindly use '.sp-pre-loader' instead of '.sp-preloader'. Here is the sample code for you:

.sp-pre-loader > div {
   pointer-events: none;
   width: 2.5em;
   height: 2.5em;
   border: 0.4em solid transparent;
   border-color: #eee;
   border-top-color: #3E67EC;
   border-radius: 50%;
   animation: loadingspin 1s linear infinite;
   background: none;
}
.sp-pre-loader > div:after {
   content: none;  
}
@keyframes loadingspin {
   100% {
           transform: rotate(360deg)
   }
}

Note: Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Hope this helps!

Best Regards

0
Ugur Uygur
Ugur Uygur
Accepted Answer
3 years ago #46337

Hi Rahman,

  • If you are trying to use the custom CSS part then actually the class name has changed a bit.

Yes, I know the css code, thanks, it was useful for other users.

Best Regards

0