Return to Support

How to Change the Fetch More Loader

Home Forums Graphene WordPress theme Support How to Change the Fetch More Loader

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9280
    Anonymous

    Hello Graphene!

    I’m trying to find a way to change the loader that turns on when infinite scrolling is activated. The loader uses an image called inf-scroll-loader.gif and it’s located in the theme’s /images directory. The js file that uses the image is found in graphene/js/graphene.js. Replacing the image file in the parent theme works, however I’m using a child theme and would like to find a way to modify it that way.

    I’ve traversed the internet for days without a solution to this problem. I would really appreciate any suggestions the community may have for my problem.

    Thank you,

    Daykeem

    #43215
    Anonymous
    Member

    I don’t have much knowledge about all this but what helps me a lot is experimenting with things.

    I would try the following things:

    1. Create /image folder in child theme

    2. Upload your edited “inf-scroll-loader.gif”

    3. Check if that works

    If not then continue with the following steps:

    4. Create /js folder in your child theme

    5. Upload the “graphene.js” file

    6. Check if that works

    If not then continue with the following steps:

    7. Edit the original “graphene.js” file in your main theme (not child theme)

    Find: “/images/inf-scroll-loader.gif”

    Replace with the full link to that image!

    #43216
    Quote:
    7. Edit the original “graphene.js” file in your main theme (not child theme)

    Please do NOT edit theme files.

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

You must be logged in to reply to this topic.