1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Discussion List

Discussion in 'Styling and Customization Questions' started by motowebmaster, Oct 1, 2013.

  1. motowebmaster

    motowebmaster Active Member

    I'm trying to apply a box-shadow to my new post list, using styles in extra.css - but it affects the conversation list as well.

    Is there is a style-property I'm missing? It doesn't appear to have a way for me to apply a style just to a discussionlist that affects new posts only?
     
  2. Steve F

    Steve F Well-Known Member

    Not sure exactly the area you are working on ( a screenshot would help) but anything on the discussion list can be styled by specifying

    .discussionList before your other css.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, as Steve said, you need higher specificity as you are using common classes which are used on multiple pages.

    If you are trying to style this page http://xenforo.com/community/find-new/posts, then ensure you use the .find_new_posts class.
     
  4. motowebmaster

    motowebmaster Active Member

    That was it!

    I used this in my extra.css (omited my particular style):

    Code:
    .find_new_posts ol.discussionListItems {
    
    }
    Something to consider in a future release of Xenforo

    Thanks!
     

Share This Page