We're merging with GenerateBlocks! Learn more here.

[Resolved] Styling Posts

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Styling Posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5407
    Emma
    Participant

    Hi, I want to use WP Show Posts Pro twice on my site to display recent posts. One on the homepage and one on the sidebar of my blog. The plugin works great but I am struggling to style both posts differently as I want to use a different font and styling. There are options to add borders and change colors in WP Show Posts Pro, but there doesn’t seem to be a font option. I can create the effect I want with CSS, but this changes the posts on both the homepage and the sidebar. Is there a specific class I can use to style each of the posts independently?

    #5417
    Tom
    Keymaster

    Hi there,

    By font, do you mean the font family?

    Let me know 🙂

    #5442
    Emma
    Participant

    Yes, font family and font weight.

    I have styled one ‘recent posts’ with CSS but I want to style the second one differently (different color, font etc)

    Thanks

    #5454
    Tom
    Keymaster

    You’ll find that each list has a custom ID with the ID of the list in it: wpsp-13607

    13607 being the ID of the list.

    This allows you to target specific elements inside specific lists.

    #wpsp-13607 .wp-show-posts-entry-title {
        font-family: Whatever;
        font-weight: bold;
    }

    Let me know if this helps or not 🙂

    #5473
    Emma
    Participant

    That’s great, thank you.

    #5487
    Tom
    Keymaster

    You’re welcome 🙂

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