Support » Theme: Cubic » How to totally remove loader line on top?

  • Resolved www.15.to

    (@www15to)


    Hi
    How to totally remove loader line on top?

    I trying to achieve maximum speed of loading your theme
    Please help me to totally remove loader on top of your theme!

    Thanks for your theme!

Viewing 3 replies - 1 through 3 (of 3 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    This should do it for you.

    .pace-done .pace, .pace-inactive {
        display: none;
    }

    Hi
    Thank you very much for so simple way.

    But I was realized already my issue like this:

    in the file /themes/boardwalk/js/pace.js
    I changed in variable defaultOptions
    startOnPageLoad: true
    to
    startOnPageLoad: false
    that’s all

    Also after this, I added/changed in same variable data like this:
    ajax: false, // disabled
    document: false, // disabled
    eventLag: false, // disabled
    elements: false

    After this loader even not loading

    • This reply was modified 1 year, 10 months ago by www.15.to.
    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Yes, you can do it that way too. The one thing to keep in mind though is that if you made the change directly to the Cubic theme files, the first time there is a theme update, it is going to override your changes. Normally I would suggest doing a Child Theme, but Cubic is already a Child Theme, and you can’t make a child of a child. You will likely have to redo your changes after each theme update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to totally remove loader line on top?’ is closed to new replies.