Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #809881

    Hi there,

    I was following the instructions here and I added a different color for each different page (see my website).
    I just noticed that the preloader has 2 colors: at first the one of the current page and later the one of the upcoming page.
    Is there a way to show only the background of the upcoming page?

    #810094

    Hey Truemotionpictures,

    I could only see 1 color, the skyblue color, can you put the css codes you used?

    Best regards,
    Nikko

    #810251

    Hey Nikko,
    thank you for answering.

    That’s correct only when you load the website first time, but try to go from the homepage (sky blue) to the about page (magenta).
    Here is the css

    /* home/work + portfolio single work */
    #top.page-id-228 .av-siteloader-wrap, #top.single-portfolio .av-siteloader-wrap {
    	background-color: #32c8ff !important;
    }
    /* about + contact */
    #top.page-id-223 .av-siteloader-wrap, #top.page-id-657 .av-siteloader-wrap {
    	background-color: #ff004d !important;
    }
    /* imprint */
    #top.page-id-663 .av-siteloader-wrap {
    	background-color: #ff6900 !important;
    }
    /* service */
    #top.page-id-660 .av-siteloader-wrap {
    	background-color: #8473ff !important;
    }
    /* directors */
    #top.page-id-8 .av-siteloader-wrap, #top.single-name-surname-works .av-siteloader-wrap, #top.single-directors .av-siteloader-wrap {
    	background-color: #00d44a !important;
    }
    /* director's single work */
    #top.single-name-surname-works .av-siteloader-wrap, #top.single-directors .av-siteloader-wrap, #top.single-true-directors .av-siteloader-wrap {
        color: #000000 !important;
    }
    #811463

    Hi,

    Sorry for the delayed response, I could see it now what you mean. I tried to fix it via css but it doesn’t seem to work, I’ll try to find another solution.

    Best regards,
    Nikko

    #812149

    Hi Nikko,
    thanks for that. I’m looking forward to get news from you!

    Best

    #813225

    Hi there.
    If you need to check, I could give access to the website.
    Please let meknow.

    Best.

    #813447

    Hi,

    I am afraid that would not be possible.
    Preloader is displayed in between page transitions and since you targeted background color using page ID’s, it shows the background color of current page and when destination page is loaded, it switches to that background color. That is expected behaviour :)

    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

    #813505

    Hi Yigit,
    thank you for the explanation.
    Is there a way to target the background differently or that’s the only way?
    Anyway could you please tell me which files are responsible for the pre-loader? I would like to have a look to that.

    Thanks again!
    Best

    #813506

    Hi!

    That is the only way. Since pages will be changing, i cannot think of any other way unfortunately.

    You can find “avia_preload_screen” function in enfold/enfold-functions.php file and search “av-siteloader-wrap” in enfold/js/avia.js file :)

    Best regards,
    Yigit

    #813717

    All clear.
    Thank you for the clarification!

    Best regards

    #813729

    Hi,

    You are welcome :)
    Let us know if you have any other questions or issues

    Best regards,
    Yigit

    #814135

    Thanks!

    #814482

    Hi,

    You are welcome!

    Best regards,
    Yigit

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Preloader color’ is closed to new replies.