-
AuthorPosts
-
May 1, 2015 at 10:40 am #437960
How can we change the spinning wheel for page preloader ?
May 4, 2015 at 4:30 pm #439038Hi pixallus!
Thank you for using Enfold.
You can modify the css:
.av-siteloader { font-size: 10px; position: relative; text-indent: -9999em; margin: 0 auto; border-top: 2px solid rgba(0, 0, 0, 0.2); border-right: 2px solid rgba(0, 0, 0, 0.2); border-bottom: 2px solid rgba(0, 0, 0, 0.2); border-left: 2px solid #000; -webkit-animation: av-load8 0.8s infinite linear; animation: av-load8 0.8s infinite linear; }You can find the animation keyframes in the css > layout.css file:
@-webkit-keyframes av-load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes av-load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% {-webkit-transform: rotate(360deg); transform: rotate(360deg); } }It’s possible to create your own animation. Look for any css animations tutorial.
Cheers!
IsmaelMay 14, 2015 at 12:26 pm #444251Hi,
Where is the file structure can I find the template file the drives the preloader? I’d like to replace the CSS loader with a gif (client has a specific idea that won’t work using CSS anim). Thanks :)
May 14, 2015 at 3:08 pm #444315Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.av-siteloader { display: none; }and upload your gif as “Custom Logo for preloader”
Best regards,
YigitJune 4, 2015 at 6:09 pm #454656This is a related question. What is the CSS for changing the background color of the preloading page?
June 4, 2015 at 6:12 pm #454659Hi!
Please add following code to Quick CSS and adjust as needed
#top .av-siteloader-wrap { background-color: orange; }Regards,
YigitJune 4, 2015 at 6:28 pm #454675That was just what I needed. Thank you!
-
AuthorPosts
- The topic ‘change gif for page preloader’ is closed to new replies.
