New Landing How can we help? Themeforest Theme Support Neighborhood Colour Scheme JS file location

Viewing 9 posts - 1 through 9 (of 9 total)
  • #156352
    huntingensemble
    Member
    Post count: 318

    Hi Guys,

    Can you tell me in which Javascript file the Colour Scheme is loaded (such as the page background colour). I would like to exclude this to prevent any Javascript minification issues. Is it functions.js?

    Much appreciated.

    best,
    Joost

    #156394
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    What is the actual issue? Please explain in detail. Why do you want to remove that code?
    Thanks
    Mohammad

    #156438
    huntingensemble
    Member
    Post count: 318

    Hi Mohammad,

    Thank you for your message.
    I would like to exclude this file from Rocket Loader (a feature from Cloudflare): https://support.cloudflare.com/hc/en-us/articles/200168056

    Because the background colour is loaded in JS it gives a short “flash” when enabled with Rocket Loader.

    Best,
    Joost

    #156454
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    All color scheme are loading through internal css code. There is no js file loading for it.
    Thanks
    Mohammad

    #156459
    huntingensemble
    Member
    Post count: 318

    Hi Mohammad.

    Ok Thanks for your answer.
    I’ve read this topic about page background colour and your colleauge @kyle is talking about that it’s loaded with JS.

    I know it’s about a different theme but I wanted to hear your thoughts about this:

    Hi

    Unfortunately it’s not possible to change the inner page bg color for individual pages. Even adding custom CSS will not work as the bg color is applied via JS

    For the icons, that link just takes me to the landing page, you need to remove the themeforest frame to provide the exact link

    – Kyle

    Topic link: http://www.swiftideas.com/forums/topic/page-background-colour/

    #156463
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    My colleague will assist you shortly.
    Thanks
    Mohammad

    #156469
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Sorry, I meant PHP! All of the color customiser options are loaded directly into the head section of the website as they are dynamic styles, therefore we need to use PHP.

    – Kyle

    #156474
    huntingensemble
    Member
    Post count: 318

    Hi Kyle,

    Ok perfect thanks for clearing this!

    Best,
    Joost!

    #156479
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    no problem 🙂

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register