Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2113930
Loading Screen
Closed

Comments

  • samiranich started the conversation

    Hi there,

    is there a way to change or style the loading screen animation when loading the website?

    cheers,
    Sam*

  •  7,124
    Oliver replied

    HI!

    You need to edit: wp-content/themes/thegem/css/thegem-preloader.css 

    Or use next css:

    body #page-preloader {    background: #2c2e3d;
    }
    body #page-preloader .page-preloader-spin,
    body .block-preloader .page-preloader-spin,
    body .preloader-spin {    border: 2px solid transparent;    border-top-color: #b9b7ff;
    }
    body .preloader-spin {    border-top-color: #b9b7ff;
    }
    body #page-preloader .page-preloader-spin:before,
    body .block-preloader .page-preloader-spin:before,
    body .preloader-spin:before {    border: 2px solid transparent;    border-top-color: #00bcd4;
    }
    body .preloader-spin:before {    border-top-color: #00bcd4;
    }
    body #page-preloader .page-preloader-spin:after,
    body .block-preloader .page-preloader-spin:after,
    body .preloader-spin:after {    border: 2px solid transparent;    border-top-color: #a3e7f0;
    }
    body .preloader-spin:after {    border-top-color: #7b97ab;
    }
    

    In order to change loader to your image, use this css:

    #page-preloader.preloader-loaded .page-preloader-spin {    background-image: URL('URL_OF_THE_IMAGE');    background-size: cover;    width: 150px;    height: 150px;    border: none;
    }
    #page-preloader.preloader-loaded .page-preloader-spin:before
    #page-preloader.preloader-loaded .page-preloader-spin:after {    display: none;    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • samiranich replied

    However, my changes to thegem-preloader.css will be overwritten as soon as I update thegem theme, no?

  •  7,124
    Oliver replied

    Yes. 

    But you can add the code I gave you in the style.css of the child theme and make the changes there, nothing will be lost.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver