WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
Center the loading image (7 posts)

  1. mbox99
    Member
    Posted 1 year ago #

    "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/

  2. mbox99
    Member
    Posted 1 year ago #

    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.

  3. Stagger Lee
    Member
    Posted 10 months ago #

    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.

  4. chi100v
    Member
    Posted 9 months ago #

    same problem

  5. aris00
    Member
    Posted 9 months ago #

    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;
    }
  6. mkokes
    Member
    Posted 7 months ago #

    Try this!

    #infscr-loading {
    	text-align: center;
    }
  7. WorldOfWils
    Member
    Posted 7 months ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.