WordPress.org

Support

Support » Plugins and Hacks » Infinite-Scroll » Center the loading image

Center the loading image

  • “How do I change the alignment of the loading image?
    Add the following to your theme’s css: #infscr-loading img { text-align: ALIGNMENT; } where “ALIGNMENT” is either left, right, or center.”

    According to the FAQ it says to place that code on the .css file. i’ve done so even tried: #infscr-loading img { text-align: right; margin: 0 auto; padding-bottom: 20px; }

    But it keeps aligning left by default. Any idea on what’s wrong? :s

    Link to my site :

    http://wordpress.org/extend/plugins/infinite-scroll/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Well aparently it doesn’t let me link outside the wordpress site? It’s ok.. Not much to show thought it keeps showing the loading image on the left corner.

    I have that problem also. CSS only wont help, it always float left for a second then jump to the middle. Tried everything in CSS, #infscr-loading.

    chi100v

    @chi100v

    same problem

    This works for me. It must be using animated jquery effect which results in a nice swipe effect!

    #infscr-loading img {
        display : block;
        margin : 1em auto;
    }

    Try this!

    #infscr-loading {
    	text-align: center;
    }

    Forgive me for asking the obvious but where do i add this exactly?

    I’ve tried all three of the above in the style.css file of my theme, but without results.

    Then I’ve tried adding in the actual plugins css but that caused a fatal error…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Center the loading image’ is closed to new replies.
Skip to toolbar