WordPress.org

Forums

Infinite-Scroll
Center the loading image (7 posts)

  1. mbox99
    Member
    Posted 2 years 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 2 years 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 1 year 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 1 year ago #

    same problem

  5. aris00
    Member
    Posted 1 year 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. Marty Kokes
    Member
    Posted 1 year ago #

    Try this!

    #infscr-loading {
    	text-align: center;
    }
  7. WorldOfWils
    Member
    Posted 1 year 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

  • Infinite-Scroll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.