WordPress.org

Forums

Q2W3 Post Order
[resolved] css style with sticky posts? (5 posts)

  1. qzha017
    Member
    Posted 2 years ago #

    Hey awesome stuff !
    Am I able to make custom style changes to the ordered lists? I have couple of sticky posts fo reach category and want to have highlighted pale yellow color as background for those 2 posts.

    Thanks man

    http://wordpress.org/extend/plugins/q2w3-post-order/

  2. Max Bond
    Member
    Plugin Author

    Posted 2 years ago #

    Hello!
    You can make custom styles.
    For each ordered post two css classes are set: q2w3-post-order and q2w3-post-order-{n}, where {n} is post position number. Use q2w3-post-order css class to set general style for ordered posts. Use q2w3-post-order-{n} to set unique style for specific post position. Note! You have to use <?php post_class(); ?> template tag in your theme.

  3. qzha017
    Member
    Posted 2 years ago #

    sweet I just needed to do the general style background color and it worked, but you mentioned <?php post_class(); ?> template tag I didnt do anything about it, so what will that do?

    thanks Max

  4. Max Bond
    Member
    Plugin Author

    Posted 2 years ago #

    but you mentioned <?php post_class(); ?> template tag I didnt do anything about it, so what will that do?

    Don't worry. Your theme uses this tag by default.

  5. qzha017
    Member
    Posted 2 years ago #

    Ok
    Thank you max thumbs up for me

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic