[Support request] Center 'More Posts' Button

Home Forums Support [Support request] Center 'More Posts' Button

Home Forums Support Center 'More Posts' Button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #630526
    Emma

    Hi,

    I have infinite scroll enabled on my blog page with a ‘more posts’ button to load additional posts. This is fine but I’d like to center this button, can you advise how I can do this?

    Thanks

    GeneratePress 2.1.3
    #630534
    David
    Staff
    Customer Support

    Hi there,

    you can give this CSS a shot:

    .load-more {
        text-align: center;
    }
    #630586
    Emma

    That’s great, thank you. I’ve tried to change the color also using css but this doesn’t seem to be working. If you could advise how to do this too that would be really helpful.

    #630603
    David
    Staff
    Customer Support

    OK, so the read more button respects the button colors set in the Customiser > Colors > Buttons, to change it independently you can do this:

    .load-more a.button, .load-more a.button:visited {
        background-color: #444;
    }
    .load-more a.button:hover {
        background-color: #666;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.