Site logo

Archived topic

Entry Meta alignment

5 replies · Started by Math on August 22, 2020

Viewing posts 1–6 of 6

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.

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.

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?

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.

Thanks for the clarification.

No problem! :)

This archived topic is closed to new replies.