[Resolved] Entry Meta alignment

Home Forums Support [Resolved] Entry Meta alignment

Home Forums Support Entry Meta alignment

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1414332
    Math

    Hi,

    I’m trying to align to center align the date for a specific page and using the following css, but doesn’t seem to be working. Can you please assist?

    .wp-show-posts-entry-meta#wpsp-3417 {
        text-align: center;   
    }

    Thank you.

    #1414443
    Leo
    Staff
    Customer Support

    Hi there,

    If it’s just for that page then this should work:

    body.page-id-3415 .wp-show-posts-entry-meta {
        text-align: center;
    }

    Make sure to clear your caching plugin.

    #1415174
    Math

    Thank you…it works but I need clarification on couple of items.

    Why is the page-id and the wpsp id numbers different?

    Also, if the number of posts increases and it goes into page 2 and 3, would it still work?

    #1415229
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The page ID is the ID of the actual page that the list is displaying on. The WPSP list ID is the ID of the list itself (regardless of what page it’s added to).

    That page ID won’t change now that it’s assigned to that page.

    #1415385
    Math

    Thanks for the clarification.

    #1416440
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.