Show loader icon until site loading for mobile

This topic has 8 replies, 2 voices, and was last updated 6 years, 4 months ago ago by Olga Barlow

  • Avatar: r1nk
    r1nk
    Participant
    August 16, 2018 at 19:36

    Hello, on theme options I already turn on Show loader icon until site loading.

    But, it only works on certain desktop resolution. May I know how can I enable it for all screen device?

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 17, 2018 at 11:11

    Hello,

    Try to add the following code in child theme style.css and clear cache

    body.js-preloader {
            visibility: hidden;
            opacity: 0
        }
    
    body.js-preloader.page-loaded {
            visibility: visible;
            opacity: 1
        }

    Regards

    Avatar: r1nk
    r1nk
    Participant
    August 18, 2018 at 04:30

    Not working. The page just become plain white.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2018 at 12:46

    Hello,

    Please, provide us with temporary Dashboard and FTP access to your site to check.

    Regards

    Avatar: r1nk
    r1nk
    Participant
    August 20, 2018 at 14:30

    Done.

    Please, contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2018 at 15:07

    Hello,

    Check now, please.

    Regards

    Avatar: r1nk
    r1nk
    Participant
    August 20, 2018 at 15:09

    Nice. May I know what things you changed?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2018 at 15:43

    Hello,

    footer.php file. Changed device width for the special class.

    Regards

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.